]> Pileus Git - ~andy/gtk/commit
GdkWindowX11: the root window is not a toplevel
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 16 Feb 2013 16:54:12 +0000 (11:54 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Sat, 16 Feb 2013 16:56:17 +0000 (11:56 -0500)
commit69d42639b2c3bb6637402a82448c0db39f24d858
tree33d600ca89363dad44748f86c6a2abc36f955f82
parentbae84bdf2382d190a25bcf3ac7f35e0ca936007f
GdkWindowX11: the root window is not a toplevel

The macros we had for checking for toplevel windows were passing
through the root window, which was not intentional and meant that
for the root window WINDOW_IS_TOPLEVEL() returned TRUE but
window->impl->toplevel was NULL, causing gdk_window_create_cairo_surface()
to crash.
gdk/x11/gdkwindow-x11.c