From 84ff0c201a52c06184602b3629423b5ff0ddf1bd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 6 Sep 2014 15:43:11 -0400 Subject: [PATCH] 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 --- gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 592a0853e7..9b17febaed 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -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);