[x11] Fix the race between resize and glViewport calls
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 25 Jun 2009 13:41:25 +0000 (14:41 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 1 Jul 2009 14:30:21 +0000 (15:30 +0100)
commit250b775926da40a5e4b96565b413c4a2c57d4a8d
treef0a0e2d2e353d6f151917bbecd1f77d29653e333
parent3726213291ad513e09ec7e8b3776cc2d2b9d9cb9
[x11] Fix the race between resize and glViewport calls

The race we were experiencing in the X11 backends is apparently
back after the fix in commit 00a3c698.

This time, just delaying the setting of the SYNC_MATRICES flag
is not enough, so we can resume the use of a STAGE_IN_RESIZE
private flag.

This should also fix bug:

  http://bugzilla.openedhand.com/show_bug.cgi?id=1668
clutter/clutter-main.c
clutter/clutter-private.h
clutter/x11/clutter-event-x11.c
clutter/x11/clutter-stage-x11.c