Skip to content

Only make startup notification change the virtual desktop if requested

Nicolas Fella requested to merge work/nico/startup-notify-desktop into master

Startup notifications optionally contain the target desktop the app should be launched to.

If present the window is sent to that desktop, if not it is sent to the current desktop.

Later in Workspace::activateWindow we check if the window is on the current desktop, and if not we either move it to the current desktop or switch to the window's desktop depending on user preference.

However, this is broken because the window was already moved to the current desktop. To avoid this only move the window if specifically requested by the startup id.

BUG: 462996

Edited by Nicolas Fella

Merge request reports

Loading