Remove unnecessary sync requests.

This commit is contained in:
David Reveman 2008-09-04 01:56:27 +02:00
parent 83a20beb9c
commit 5e5f78d66b

View file

@ -374,9 +374,6 @@ int dmxAddInput(DMXInputAttributesPtr attr, int *id)
dmxBERestorePassiveGrab, dmxBERestorePassiveGrab,
(pointer) &dmxInputs[i]); (pointer) &dmxInputs[i]);
} }
/* Force completion of the changes */
dmxSync(NULL, TRUE);
} }
return retcode; return retcode;
@ -1675,8 +1672,6 @@ dmxAttachScreen (int idx,
dmxBEMapRootWindow(idx); dmxBEMapRootWindow(idx);
dmxSync(&dmxScreens[idx], TRUE);
/* We used these to compare the old and new screens. They are no /* We used these to compare the old and new screens. They are no
* longer needed since we have a newly attached screen, so we can * longer needed since we have a newly attached screen, so we can
* now free the old screen's resources. */ * now free the old screen's resources. */