Stop using the root window in gdk_window_create_similar_image_surface
authorMatthias Clasen <mclasen@redhat.com>
Mon, 6 Nov 2017 00:30:54 +0000 (19:30 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 6 Nov 2017 00:30:54 +0000 (19:30 -0500)
commitc08a6a062fdef4ca76f657456363a77e9f1137aa
tree0aea3fd6537326e6e7cb9e1de0e1232e997c73a9
parentde83fc48bf510a82c7313723c03276c56b03b275
Stop using the root window in gdk_window_create_similar_image_surface

Just create a plain image surface if we don't get a window.
This should work just fine and lets us drop another implicit
use of the root window.
gdk/gdkwindow.c