mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +01:00
Fixed moving restored windows to virtual desktops
- it wasn't working on some X servers
This commit is contained in:
parent
363b1716f4
commit
66081f8625
|
@ -1945,6 +1945,9 @@ void QupZilla::moveToVirtualDesktop(int desktopId)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fixes issue when the property wasn't set on some X servers
|
||||||
|
setVisible(true);
|
||||||
|
|
||||||
XChangeProperty(display, winId(), net_wm_desktop, XA_CARDINAL,
|
XChangeProperty(display, winId(), net_wm_desktop, XA_CARDINAL,
|
||||||
32, PropModeReplace, (unsigned char*) &desktopId, 1L);
|
32, PropModeReplace, (unsigned char*) &desktopId, 1L);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user