This is an automated email from the git hooks/post-receive script. andrzejr pushed a commit to branch master in repository xfce/xfce4-panel.
commit adfbaa87f572e17c68df0f0cb2f85d70f87ff3b3 Author: Andrzej <ndrwr...@gmail.com> Date: Wed May 14 20:24:45 2014 +0100 Tasklist, fixing race condition between desktop and window switching In some cases clicking on a button switches to another desktop but fails to activate the application (another, previously activated window gets the focus). Not sure why gtk_main_iteration works and not e.g. XSync but it fixes the problem on affected systems. --- plugins/tasklist/tasklist-widget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c index 62e2ad8..52882de 100644 --- a/plugins/tasklist/tasklist-widget.c +++ b/plugins/tasklist/tasklist-widget.c @@ -2923,7 +2923,8 @@ xfce_tasklist_button_activate (XfceTasklistChild *child, else if (wnck_screen_get_active_workspace (child->tasklist->screen) != workspace) { /* switch to the other workspace before we activate the window */ - wnck_workspace_activate (workspace, timestamp - 1); + wnck_workspace_activate (workspace, timestamp); + gtk_main_iteration (); } } else if (workspace != NULL -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits