]> Pileus Git - ~andy/gtk/commit
XIM: Don't force random windows to become native
authorMatthias Clasen <mclasen@redhat.com>
Mon, 1 Oct 2012 00:33:38 +0000 (20:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 2 Oct 2012 02:12:07 +0000 (22:12 -0400)
commitd6809d050a8666f7c98ee4b74f22ff828782fe16
tree7544a7580561c56d238ce2448751a649cf408d91
parent307a1dc638ca3ac71f1025655d7e82b4cd0825f2
XIM: Don't force random windows to become native

GDK_WINDOW_XID() has the side-effect of turning a window native;
this in turn can have unexpected effects such as black backgrounds.
Avoid this by using the XID of the toplevel.
https://bugzilla.gnome.org/show_bug.cgi?id=682395
modules/input/gtkimcontextxim.c