From 59d0d8cdab4d8f6712a6dfa58c69a1312b867228 Mon Sep 17 00:00:00 2001 From: Monsta Date: Tue, 15 Dec 2015 14:33:25 +0300 Subject: window picker: avoid runtime warning about wrong time from https://github.com/lanoxx/window-picker-applet/commit/a7ca6d0131fb000000602907307040725b0db275 --- mate-window-picker-applet/task-item.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mate-window-picker-applet') diff --git a/mate-window-picker-applet/task-item.c b/mate-window-picker-applet/task-item.c index 5566349..860fc6c 100644 --- a/mate-window-picker-applet/task-item.c +++ b/mate-window-picker-applet/task-item.c @@ -137,7 +137,7 @@ on_task_item_button_released (GtkWidget *widget, if (WNCK_IS_WORKSPACE (workspace) && workspace != wnck_screen_get_active_workspace (screen)) { - wnck_workspace_activate (workspace, GDK_CURRENT_TIME); + wnck_workspace_activate (workspace, event->time); } if (wnck_window_is_active (window)) { @@ -145,7 +145,7 @@ on_task_item_button_released (GtkWidget *widget, } else { - wnck_window_activate (window, GDK_CURRENT_TIME); + wnck_window_activate (window, event->time); } } return TRUE; -- cgit v1.2.1