Skip to content
Browse files

Allow commandline arguments for windowmanager setting

This fix gives the option to specify startup arumgents
for the windowmanager setting.
  • Loading branch information...
1 parent 17b0489 commit a3e99a21ea6b937ef3e6c0ee26451324779681a7 @nebulade nebulade committed Feb 10, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 razorqt-session/razor-session/src/razormodman.cpp
View
4 razorqt-session/razor-session/src/razormodman.cpp
@@ -125,13 +125,13 @@ void RazorModuleManager::startWm(RazorSettings *settings)
mWindowManager = settings->value("windowmanager").toString();
}
-
// If previuos WM was removed, we show dialog.
- if (mWindowManager.isEmpty() || ! findProgram(mWindowManager))
+ if (mWindowManager.isEmpty() || ! findProgram(mWindowManager.split(' ')[0]))
{
mWindowManager = showWmSelectDialog();
settings->setValue("windowmanager", mWindowManager);
settings->sync();
+
}
mWmProcess->start(mWindowManager);

0 comments on commit a3e99a2

Please sign in to comment.
Something went wrong with that request. Please try again.