aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/LSession.cpp
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-08-04 16:44:46 -0400
committerKen Moore <moorekou@gmail.com>2015-08-04 16:44:46 -0400
commitcc6bf725400819fdd88db5bc382e84da7b5520d9 (patch)
treed807c30076f307a26fd8a04b8f5662125e57ec59 /lumina-desktop/LSession.cpp
parentConvert lumina-screenshot to use the XCB interface exclusively (no more XLib)... (diff)
downloadlumina-cc6bf725400819fdd88db5bc382e84da7b5520d9.tar.gz
lumina-cc6bf725400819fdd88db5bc382e84da7b5520d9.tar.bz2
lumina-cc6bf725400819fdd88db5bc382e84da7b5520d9.zip
Add the XCB versions of the system tray start/stop routines, and setup LSession to use those new versions
Diffstat (limited to 'lumina-desktop/LSession.cpp')
-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 8286bdd6..2dd841df 100644
--- a/lumina-desktop/LSession.cpp
+++ b/lumina-desktop/LSession.cpp
@@ -773,7 +773,7 @@ QList<WId> LSession::currentTrayApps(WId visualTray){
void LSession::startSystemTray(){
if(SystemTrayID!=0){ return; }
RunningTrayApps.clear(); //nothing running yet
- SystemTrayID = LX11::startSystemTray(0);
+ SystemTrayID = XCB->startSystemTray(0);
TrayStopping = false;
if(SystemTrayID!=0){
XSelectInput(QX11Info::display(), SystemTrayID, InputOutput); //make sure TrayID events get forwarded here
@@ -801,7 +801,7 @@ void LSession::stopSystemTray(bool detachall){
}
}
//Now close down the tray backend
- LX11::closeSystemTray(SystemTrayID);
+ XCB->closeSystemTray(SystemTrayID);
SystemTrayID = 0;
TrayDmgEvent = 0;
TrayDmgError = 0;
bgstack15