[gnome-control-center] wacom: Fix window decorations being visible in calibrator window
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Fix window decorations being visible in calibrator window
- Date: Wed, 1 Jul 2015 09:44:03 +0000 (UTC)
commit ae11d34c602c08ae345f59fc8d1775194e284667
Author: Jason Gerecke <jason gerecke wacom com>
Date: Wed Jun 17 14:04:30 2015 -0700
wacom: Fix window decorations being visible in calibrator window
The 'on_fullscreen' function which handles the 'window-state-event'
signal should be returning a gboolean value. Fix the function
signature and have it return FALSE to allow the event to continue to
propagate.
https://bugzilla.gnome.org/show_bug.cgi?id=751129
panels/wacom/calibrator/calibrator-gui.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/panels/wacom/calibrator/calibrator-gui.c b/panels/wacom/calibrator/calibrator-gui.c
index b1feff7..1855be5 100644
--- a/panels/wacom/calibrator/calibrator-gui.c
+++ b/panels/wacom/calibrator/calibrator-gui.c
@@ -471,7 +471,7 @@ show_helper_text_title (CalibArea *area)
area->helper_msg_timeline = transition;
}
-static void
+static gboolean
on_fullscreen (GtkWindow *window,
GdkEventWindowState *event,
CalibArea *area)
@@ -479,11 +479,11 @@ on_fullscreen (GtkWindow *window,
ClutterRect rect;
if ((event->changed_mask & GDK_WINDOW_STATE_FULLSCREEN) == 0)
- return;
+ return FALSE;
/* Protect against window state multiple changes*/
if (CLUTTER_ACTOR_IS_VISIBLE (area->action_layer))
- return;
+ return FALSE;
clutter_actor_show (area->action_layer);
clutter_actor_show (area->clock);
@@ -503,6 +503,7 @@ on_fullscreen (GtkWindow *window,
- clutter_actor_get_height (area->helper_text_body));
show_helper_text_title (area);
+ return FALSE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]