summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-22 12:29:15 +0300
committermonsta <[email protected]>2015-12-22 12:29:15 +0300
commit2209fe603c3960b5b62c7419ff7d0980a41477ee (patch)
tree4d256bad1d4cf53d267512dbc76ae36445631656 /mate-window-picker-applet
parentad71ff5c734e9f410b9e4c1b08f107c4b7057eaa (diff)
downloadmate-netbook-2209fe603c3960b5b62c7419ff7d0980a41477ee.tar.bz2
mate-netbook-2209fe603c3960b5b62c7419ff7d0980a41477ee.tar.xz
use proper event time when closing a window in response to button click
from https://github.com/GNOME/gnome-applets/commit/1b113fe74994a7d2c51e23d07783fef6b3be7547
Diffstat (limited to 'mate-window-picker-applet')
-rw-r--r--mate-window-picker-applet/task-title.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-window-picker-applet/task-title.c b/mate-window-picker-applet/task-title.c
index c86b8c4..a766d2d 100644
--- a/mate-window-picker-applet/task-title.c
+++ b/mate-window-picker-applet/task-title.c
@@ -81,7 +81,7 @@ on_close_clicked (GtkButton *button,
{
if (priv->window == window)
disconnect_window (title);
- wnck_window_close (window, GDK_CURRENT_TIME);
+ wnck_window_close (window, event->time);
}
gtk_widget_queue_draw (GTK_WIDGET (title));