aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/LWindowManager.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-11-20 14:16:46 -0500
committerKen Moore <moorekou@gmail.com>2015-11-20 14:16:46 -0500
commit90a5772644ca553d553fe3815d2c98c51cf0079c (patch)
treebb2bd9811e4301ef4683caf81e24697ee9635d38 /lumina-wm-INCOMPLETE/LWindowManager.cpp
parentQuick checkpoint for the window manager: NOT STABLE - crashes on window close... (diff)
downloadlumina-90a5772644ca553d553fe3815d2c98c51cf0079c.tar.gz
lumina-90a5772644ca553d553fe3815d2c98c51cf0079c.tar.bz2
lumina-90a5772644ca553d553fe3815d2c98c51cf0079c.zip
Fix up the WM a bit more - now it can open/close windows without issues (still very rough - does not do things like fine-grained stacking, minimization, and such yet).
Diffstat (limited to 'lumina-wm-INCOMPLETE/LWindowManager.cpp')
-rw-r--r--lumina-wm-INCOMPLETE/LWindowManager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lumina-wm-INCOMPLETE/LWindowManager.cpp b/lumina-wm-INCOMPLETE/LWindowManager.cpp
index 87519ff6..725bc18e 100644
--- a/lumina-wm-INCOMPLETE/LWindowManager.cpp
+++ b/lumina-wm-INCOMPLETE/LWindowManager.cpp
@@ -148,7 +148,10 @@ void LWindowManager::RepaintWindows(){
//=================
void LWindowManager::FinishedWindow(WId win){
for(int i=0; i<WINS.length(); i++){
- if(WINS[i]->clientID() == win){ qDebug() << " - Finished Window"; delete WINS.takeAt(i); break; }
+ if(WINS[i]->clientID() == win){
+ qDebug() << " - Finished Window";
+ delete WINS.takeAt(i); break;
+ }
}
//Now update the list of clients
RestackWindows();
bgstack15