summaryrefslogtreecommitdiff
path: root/gdk/gdkframeclock.h
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2012-10-07 11:42:45 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2013-02-14 17:19:49 -0500
commit3cef97f10d3125888ec7707944ecda02cd8abc20 (patch)
tree0b137ec6525ce624fd72a5773676a49b4062ceaf /gdk/gdkframeclock.h
parenta69285da08a2a61d5fd817ee8ccb88a6b6deaef6 (diff)
downloadgtk+-3cef97f10d3125888ec7707944ecda02cd8abc20.tar.gz
GdkFrameClock: Reverse order of resume-events and afterpaint
Keeping events paused after the end of a frame put us in a weird state where we had to process and queue events - so that we would get the message from the compositor - but not deliver them. Instead resume events before ending the frame. https://bugzilla.gnome.org/show_bug.cgi?id=685460
Diffstat (limited to 'gdk/gdkframeclock.h')
-rw-r--r--gdk/gdkframeclock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkframeclock.h b/gdk/gdkframeclock.h
index 624f6fef4c..d75fce984a 100644
--- a/gdk/gdkframeclock.h
+++ b/gdk/gdkframeclock.h
@@ -70,8 +70,8 @@ typedef enum {
GDK_FRAME_CLOCK_PHASE_UPDATE = 1 << 2,
GDK_FRAME_CLOCK_PHASE_LAYOUT = 1 << 3,
GDK_FRAME_CLOCK_PHASE_PAINT = 1 << 4,
- GDK_FRAME_CLOCK_PHASE_AFTER_PAINT = 1 << 5,
- GDK_FRAME_CLOCK_PHASE_RESUME_EVENTS = 1 << 6
+ GDK_FRAME_CLOCK_PHASE_RESUME_EVENTS = 1 << 5,
+ GDK_FRAME_CLOCK_PHASE_AFTER_PAINT = 1 << 6
} GdkFrameClockPhase;
struct _GdkFrameClockInterface