aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-08-05 09:55:47 -0400
committerKen Moore <moorekou@gmail.com>2015-08-05 09:55:47 -0400
commit6a73f4deccb27a368d9e829fdab5b9f3f65b46ec (patch)
tree0b4c611c2f1c4210eac8c7508cdf19f89a5c77b9 /lumina-desktop
parentFinish converting libLumina to XCB-only and finish replacing any LX11 functio... (diff)
downloadlumina-6a73f4deccb27a368d9e829fdab5b9f3f65b46ec.tar.gz
lumina-6a73f4deccb27a368d9e829fdab5b9f3f65b46ec.tar.bz2
lumina-6a73f4deccb27a368d9e829fdab5b9f3f65b46ec.zip
Add a replacement for XSelectInput and use it within lumina-desktop
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/LSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp
index 2dd841df..26cb1699 100644
--- a/lumina-desktop/LSession.cpp
+++ b/lumina-desktop/LSession.cpp
@@ -776,7 +776,7 @@ void LSession::startSystemTray(){
SystemTrayID = XCB->startSystemTray(0);
TrayStopping = false;
if(SystemTrayID!=0){
- XSelectInput(QX11Info::display(), SystemTrayID, InputOutput); //make sure TrayID events get forwarded here
+ XCB->SelectInput(SystemTrayID); //make sure TrayID events get forwarded here
XDamageQueryExtension( QX11Info::display(), &TrayDmgEvent, &TrayDmgError);
evFilter->setTrayDamageFlag(TrayDmgEvent);
qDebug() << "System Tray Started Successfully";
bgstack15