miracle-wm-org / miracle-wm

Miracle is a Wayland tiling window manager built on Mir
https://miracle-wm.org
GNU General Public License v3.0
417 stars 14 forks source link

Fix unpinning a window to a new workspace #278

Closed TibboddiT closed 2 weeks ago

TibboddiT commented 3 weeks ago

When a pinned window is transferred to another workspace, the workspace property on the FloatingWindowContainer was not updated.

This PR adds a call to Workspace::graft on the destination workspace when transferring a pinned window.

Fix #277

TibboddiT commented 3 weeks ago

It feels like a test in tests/ipc could have been added for this, but I dont know where to look for command strings like

conn.command("move window to workspace back_and_forth")