diff options
| author | Balló György <[email protected]> | 2026-10-17 13:49:23 +0200 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-10-19 12:40:20 -0400 |
| commit | b81247cd615f8c18abcf4b7a0dac9dc06d3b2b16 (patch) | |
| tree | f5e79b44d60310fc24458542cfb5b12743c645f1 | |
| parent | 9c3eb2866e4a4d6f59264db0a7248233935b661a (diff) | |
| download | mate-netbook-master.tar.bz2 mate-netbook-master.tar.xz | |
Use 0 instead of the button event timestamp when activating a
workspace or window.
As the applet acts as a pager, it can request activation without
passing the timestamp of the button event. This avoids activation
failures with window managers that reject stale timestamps, which
can leave minimized windows in the demands-attention state instead
of restoring them.
| -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 9c6cee9..2b14b63 100644 --- a/mate-window-picker-applet/task-item.c +++ b/mate-window-picker-applet/task-item.c @@ -130,7 +130,7 @@ on_task_item_button_released (GtkWidget *widget, { if (WNCK_IS_WORKSPACE (workspace) && workspace != wnck_screen_get_active_workspace (screen)) { - wnck_workspace_activate (workspace, event->time); + wnck_workspace_activate (workspace, 0); } if (wnck_window_is_active (window)) { @@ -141,7 +141,7 @@ on_task_item_button_released (GtkWidget *widget, } else { - wnck_window_activate (window, event->time); + wnck_window_activate (window, 0); } } return TRUE; |
