compiz/compiz_call_glxwaitx_before_drawing.patch
raveit 64729054e8 add %global plugins_schemas
- change mateconf scriptlets
- remove (Requires(post): desktop-file-utils)
- add some patches from Jasmine Hassan jasmine.aura@gmail.com
- remove (noreplace) from mateconf schema directory
- add desktop-file-validate
- disable mate keybindings for the moment
2012-12-04 16:21:22 +01:00

18 lines
544 B
Diff

Author: Travis Watkins <amaranth@ubuntu.com>
Description: Call glXWaitX before we start drawing
Call glXWaitX before we start drawing to make sure X is done
handling rendering calls. Suggested by Michel Dänzer to ensure
we don't have any rendering glitches.
Origin: vendor, ubuntu (1:0.8.3+git20090917-0ubuntu3)
--- a/src/display.c
+++ b/src/display.c
@@ -1537,6 +1537,8 @@ eventLoop (void)
timeDiff = 0;
makeScreenCurrent (s);
+ /* make sure X is ready for us to draw */
+ glXWaitX ();
if (s->slowAnimations)
{