From cc6bf725400819fdd88db5bc382e84da7b5520d9 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 4 Aug 2015 16:44:46 -0400 Subject: Add the XCB versions of the system tray start/stop routines, and setup LSession to use those new versions --- lumina-desktop/LSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lumina-desktop/LSession.cpp') 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 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; -- cgit