mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-21 01:13:38 +00:00
Follow GLX in setting ARGB visual nplanes to 24.
Retry current mouse protocol when sync is lost
This commit is contained in:
parent
aa5a878472
commit
f52a4d472d
1 changed files with 2 additions and 0 deletions
|
|
@ -855,6 +855,8 @@ MouseRead (int mousePort, void *closure)
|
||||||
km->invalid += i + km->tested;
|
km->invalid += i + km->tested;
|
||||||
km->valid = 0;
|
km->valid = 0;
|
||||||
km->tested = 0;
|
km->tested = 0;
|
||||||
|
if (km->stage == MouseWorking)
|
||||||
|
km->i_prot--;
|
||||||
km->stage = MouseBroken;
|
km->stage = MouseBroken;
|
||||||
if (km->invalid > MAX_SKIP)
|
if (km->invalid > MAX_SKIP)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue