diff options
author | Ken Moore <ken@pcbsd.org> | 2015-06-08 08:37:19 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-06-08 08:37:19 -0400 |
commit | 25490dd7d48833c8cdabb95a99df31894fd827d4 (patch) | |
tree | 989cba0c461090c2dce8181b6819599cb8df1bae /lumina-desktop/LSession.cpp | |
parent | Finish up the desktop re-scaling routines for ensure the same interface if yo... (diff) | |
download | lumina-25490dd7d48833c8cdabb95a99df31894fd827d4.tar.gz lumina-25490dd7d48833c8cdabb95a99df31894fd827d4.tar.bz2 lumina-25490dd7d48833c8cdabb95a99df31894fd827d4.zip |
Add a new function to "restart" the window manager, and run this if something changed with regards to the available monitors/displays (such as when adding/removing a monitor). This forces Fluxbox to reload completely so it picks up on the new display layout.
Diffstat (limited to 'lumina-desktop/LSession.cpp')
-rw-r--r-- | lumina-desktop/LSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp index 342f509a..b61e32af 100644 --- a/lumina-desktop/LSession.cpp +++ b/lumina-desktop/LSession.cpp @@ -449,7 +449,7 @@ void LSession::updateDesktops(){ //QTimer::singleShot(0,DESKTOPS[i], SLOT(checkResolution())); } } - WM->updateWM(); //Make sure fluxbox also gets prompted to re-load screen config + WM->restartWM(); //Make sure fluxbox also gets prompted to re-load screen config } //Make sure all the background windows are registered on the system as virtual roots QTimer::singleShot(100,this, SLOT(registerDesktopWindows())); |