aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemtray/TrayIcon.h
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-04-20 10:47:57 -0400
committerKen Moore <ken@pcbsd.org>2015-04-20 10:47:57 -0400
commit570272ccbe285afcad3f5b4ab00a18475ef163ed (patch)
tree09c4ac5e4440d61453d62de843afc19f5af312d4 /lumina-desktop/panel-plugins/systemtray/TrayIcon.h
parentMerge pull request #91 from Nanolx/lumina-panel-date (diff)
downloadlumina-570272ccbe285afcad3f5b4ab00a18475ef163ed.tar.gz
lumina-570272ccbe285afcad3f5b4ab00a18475ef163ed.tar.bz2
lumina-570272ccbe285afcad3f5b4ab00a18475ef163ed.zip
Remove the last libX11 usage in the sytem tray protocols. Move the damage ID creation to XCB, and place it within the embedding routine in LuminaX11 instead.
Diffstat (limited to 'lumina-desktop/panel-plugins/systemtray/TrayIcon.h')
-rw-r--r--lumina-desktop/panel-plugins/systemtray/TrayIcon.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/lumina-desktop/panel-plugins/systemtray/TrayIcon.h b/lumina-desktop/panel-plugins/systemtray/TrayIcon.h
index a3cbac31..18c51a66 100644
--- a/lumina-desktop/panel-plugins/systemtray/TrayIcon.h
+++ b/lumina-desktop/panel-plugins/systemtray/TrayIcon.h
@@ -22,9 +22,7 @@
#include <QImage>
// libLumina includes
-#include <LuminaX11.h>
-
-//Local includes
+//#include <LuminaX11.h>
class TrayIcon : public QWidget{
Q_OBJECT
@@ -42,19 +40,11 @@ public slots:
private:
WId IID, AID; //icon ID and app ID
-
-//private slots:
- //void slotAttach(); //so that the attachment can be done in a new thread
-
+ uint dmgID;
protected:
void paintEvent(QPaintEvent *event);
- //void moveEvent(QMoveEvent *event);
void resizeEvent(QResizeEvent *event);
- //bool x11Event(XEvent *event);
-//signals:
- //void AppClosed();
- //void AppAttached();
};
#endif \ No newline at end of file
bgstack15