aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-02-17 16:06:42 -0500
committerKen Moore <ken@pcbsd.org>2015-02-17 16:06:42 -0500
commit57cbf1fd79d94d560ec3a66565db4395735e4ce1 (patch)
treeca97963be5b305320fb994f324e7c69c6cf99145
parentFix a couple bugs in the panel settings detection. (diff)
downloadlumina-57cbf1fd79d94d560ec3a66565db4395735e4ce1.tar.gz
lumina-57cbf1fd79d94d560ec3a66565db4395735e4ce1.tar.bz2
lumina-57cbf1fd79d94d560ec3a66565db4395735e4ce1.zip
Use the XCB CloseWindow routine instead of the old XLib routine during the session cleanup.
-rw-r--r--lumina-desktop/LSession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp
index be8e5914..1d9a6de2 100644
--- a/lumina-desktop/LSession.cpp
+++ b/lumina-desktop/LSession.cpp
@@ -135,12 +135,12 @@ void LSession::CleanupSession(){
}
//Close any Tray Apps
for(int i=0; i<RunningTrayApps.length(); i++){
- LX11::CloseWindow(RunningTrayApps[i]);
+ XCB->CloseWindow(RunningTrayApps[i]);
LSession::processEvents();
}
//Close any open windows
for(int i=0; i<RunningApps.length(); i++){
- LX11::CloseWindow(RunningApps[i]);
+ XCB->CloseWindow(RunningApps[i]);
LSession::processEvents();
}
bgstack15