diff options
author | Monsta <[email protected]> | 2015-12-15 14:33:25 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-12-15 14:33:25 +0300 |
commit | 59d0d8cdab4d8f6712a6dfa58c69a1312b867228 (patch) | |
tree | eb8645de2b09eb20ec20679d3acf150cbf76d2da /mate-window-picker-applet/task-item.c | |
parent | caebecef4000c0e5d7462f5d7f3b9ac80f1e9285 (diff) | |
download | mate-netbook-59d0d8cdab4d8f6712a6dfa58c69a1312b867228.tar.bz2 mate-netbook-59d0d8cdab4d8f6712a6dfa58c69a1312b867228.tar.xz |
window picker: avoid runtime warning about wrong time
from
https://github.com/lanoxx/window-picker-applet/commit/a7ca6d0131fb000000602907307040725b0db275
Diffstat (limited to 'mate-window-picker-applet/task-item.c')
-rw-r--r-- | mate-window-picker-applet/task-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |