]> Pileus Git - ~andy/gtk/commit
GdkWindowX11: start off with an odd frame-counter value
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 4 Oct 2012 00:15:44 +0000 (20:15 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:48 +0000 (17:19 -0500)
commit6557a775df9651536747867e5052be2b2eddb45d
tree71aaa9d4a8d1ad5ac9597a51ce28941f2c1e17ac
parent355e305c1686968467269e8dafbda9b896315d12
GdkWindowX11: start off with an odd frame-counter value

By starting with an odd frame counter value, we make the mapping
and initial paint of the window an atomic operation, avoiding
any visual artifacts from an unpainted window.

Possible improvement: start the frame when doing gdk_window_show(),
so that the same improvement occurs for windows that were previously
shown and are being mapped again.

https://bugzilla.gnome.org/show_bug.cgi?id=685460
gdk/x11/gdkwindow-x11.c