GNOME Bugzilla – Bug 785451
libwnck-3.24.0 breaks pin_window for devilspie
Last modified: 2017-07-27 11:37:21 UTC
I'm running cinnamon desktop (3.4.4) on Archlinux. I use devilspie to automatically show certain windows on all workspaces. After updating libwnck from 3.20.1 to 3.24.0 the "pin_window" function in devilspie (which calls "wnck_window_pin") stopped working. Devilspie fails to make windows show in all workspaces without printing any errors. However, things work as expected when making windows visible on all workspaces using the context menus provided by the desktop. I.e., right click on window title and selecting "Always on Visible Workspace" makes the window visible in all workspaces. A bisect of libwnck from 3.20.1 to 3.24.0 found this: 4eea6ce25673167b109d9fad3ee1224caa92dd79 is the first bad commit commit 4eea6ce25673167b109d9fad3ee1224caa92dd79 Author: Alberts Muktupāvels <alberts.muktupavels@gmail.com> Date: Sat Apr 29 11:43:14 2017 +0300 window: avoid signed / unsigned warning I have reverted commit 4eea6ce on top of 3.24.0 and I can confirm that reverting the commit makes devilspie's "pin_window" function work again. I have tested the original devilspie and the newer devilspie2. Both call function "wnck_window_pin" and they both display this problem.
Created attachment 356470 [details] [review] window: ensure that ALL_WORKSPACES has the X11 expected value And cast it explicitly so that we mute warnings
Attachment 356470 [details] pushed as 3baa3da - window: ensure that ALL_WORKSPACES has the X11 expected value