summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Greenberg <ifnspifn@gmail.com>2014-02-06 13:40:27 -0800
committerWill Greenberg <ifnspifn@gmail.com>2014-02-06 13:40:27 -0800
commit6fa77921058bd4a412c4153b8deb643f1666e191 (patch)
tree0c7c0763958864338b7adff20d968a4e02faf7e7
parent814eb6c94cda7140446d76a986fe46d8f9ffc1af (diff)
parent8c2151a225b7fa0f3d208e6880736a4e3e94cb55 (diff)
Merge pull request #553 from endlessm/issues/546
Dont block the default window-state-event handler
-rw-r--r--endless/eoswindow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/endless/eoswindow.c b/endless/eoswindow.c
index 0b280a3..57981e3 100644
--- a/endless/eoswindow.c
+++ b/endless/eoswindow.c
@@ -752,7 +752,7 @@ on_close_clicked_cb (GtkWidget *top_bar,
gtk_window_close (GTK_WINDOW (self));
}
-static void
+static gboolean
on_window_state_event_cb (GtkWidget *widget,
GdkEventWindowState *event)
{
@@ -761,6 +761,7 @@ on_window_state_event_cb (GtkWidget *widget,
GdkWindowState window_state = event->new_window_state;
priv->maximized = window_state & GDK_WINDOW_STATE_MAXIMIZED;
eos_top_bar_update_window_maximized (EOS_TOP_BAR (priv->top_bar), priv->maximized);
+ return FALSE;
}
/* Make sure that the edge finishing does not catch input events */