aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-03-11 23:40:32 -0400
committerKen Moore <ken@pcbsd.org>2015-03-11 23:40:32 -0400
commit950c4ebc4343452dc6f99a9c74d71e4dba9d7eaa (patch)
tree9f88083114df480a5cd7b880752245cf3782cf73 /lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
parentConvert the windowImage routine to XCB from XLib, and set the desktop (system... (diff)
downloadlumina-950c4ebc4343452dc6f99a9c74d71e4dba9d7eaa.tar.gz
lumina-950c4ebc4343452dc6f99a9c74d71e4dba9d7eaa.tar.bz2
lumina-950c4ebc4343452dc6f99a9c74d71e4dba9d7eaa.zip
Just a bit of cleanup in libLumina and adjust the deskopview plugin a bit for non-valid *.desktop files.
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp')
-rw-r--r--lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp b/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
index 23453eed..47576478 100644
--- a/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
+++ b/lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp
@@ -117,7 +117,7 @@ void TrayIcon::paintEvent(QPaintEvent *event){
//qDebug() << " - Draw tray:" << AID << IID << this->winId();
//qDebug() << " - - " << event->rect().x() << event->rect().y() << event->rect().width() << event->rect().height();
//qDebug() << " - Get image:" << AID;
- QPixmap pix = LSession::handle()->XCB->WindowImage(AID, false);
+ QPixmap pix = LSession::handle()->XCB->WindowImage(AID);
//LX11::WindowImage(AID, false);
if(pix.isNull()){
//Try to grab the window directly with Qt
bgstack15