diff options
author | Ken Moore <ken@pcbsd.org> | 2015-03-11 23:40:32 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-03-11 23:40:32 -0400 |
commit | 950c4ebc4343452dc6f99a9c74d71e4dba9d7eaa (patch) | |
tree | 9f88083114df480a5cd7b880752245cf3782cf73 /lumina-desktop/panel-plugins/systemtray/TrayIcon.cpp | |
parent | Convert the windowImage routine to XCB from XLib, and set the desktop (system... (diff) | |
download | lumina-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.cpp | 2 |
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 |