Don't set an input shape unless client-decorated

We were actually setting an input shape larger than the window
in !csd, and this was confusing at least openbox.

https://bugzilla.gnome.org/736064
This commit is contained in:
Matthias Clasen 2014-09-06 15:43:11 -04:00
parent 98c87dc6ed
commit 84ff0c201a

View File

@ -6763,6 +6763,9 @@ update_border_windows (GtkWindow *window)
GtkStyleContext *context;
GtkStateFlags state;
if (!priv->client_decorated)
return;
state = gtk_widget_get_state_flags (widget);
context = gtk_widget_get_style_context (widget);