summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-window-picker-applet/task-title.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-window-picker-applet/task-title.c b/mate-window-picker-applet/task-title.c
index 1f0ed7c..8cc2e72 100644
--- a/mate-window-picker-applet/task-title.c
+++ b/mate-window-picker-applet/task-title.c
@@ -111,9 +111,10 @@ on_close_clicked (GtkButton *button,
g_return_val_if_fail (TASK_IS_TITLE (title), FALSE);
priv = title->priv;
+ ret = FALSE;
if (event->button != 1 || !priv->mouse_in_close_button)
- return FALSE;
+ return ret;
window = wnck_screen_get_active_window (priv->screen);