1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Fixed moving restored windows to virtual desktops

- it wasn't working on some X servers
This commit is contained in:
Luke Dashjr 2012-11-04 23:50:20 +01:00 committed by nowrep
parent 363b1716f4
commit 66081f8625

View File

@ -1945,6 +1945,9 @@ void QupZilla::moveToVirtualDesktop(int desktopId)
return;
}
// Fixes issue when the property wasn't set on some X servers
setVisible(true);
XChangeProperty(display, winId(), net_wm_desktop, XA_CARDINAL,
32, PropModeReplace, (unsigned char*) &desktopId, 1L);
}