diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-20 22:53:13 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-21 00:43:28 +0100 |
commit | c4ecc3f4f72af2cd68cbc5439015cf2c8813479d (patch) | |
tree | c0643ad3b10cd93f8ffd77ed7d5ff8c47a46ac20 /gdk/x11/gdkdisplay-x11.c | |
parent | 63edf43e86ea1eeeee30736208f790e954bd0f30 (diff) | |
download | gtk+-c4ecc3f4f72af2cd68cbc5439015cf2c8813479d.tar.gz |
surface: Remove queue_antiexpose()
... and its implementation in the X11 backend.
GDK does lots of work trying to reduce the region in expose events
so that when the server sends multiple expose events, touching the
same area we can make sure to only redraw stuff once. However:
(1) this is only relevant of there's tons of delay and multiple
expose events get sent
(2) we coalesce multiple events into a single expose event anyway
(3) we do this on the frame clock
But most importantly:
(4) Since the invention of compositing, servers caches all contents
anyway
Diffstat (limited to 'gdk/x11/gdkdisplay-x11.c')
-rw-r--r-- | gdk/x11/gdkdisplay-x11.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index 4432a3efe4..844c14f02f 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -1966,9 +1966,6 @@ gdk_x11_display_finalize (GObject *object) _gdk_x11_cursor_display_finalize (GDK_DISPLAY (display_x11)); - /* Empty the event queue */ - _gdk_x11_display_free_translate_queue (GDK_DISPLAY (display_x11)); - /* Get rid of pending streams */ g_slist_free_full (display_x11->streams, g_object_unref); |