diff options
author | Ken Moore <ken@ixsystems.com> | 2018-01-31 15:40:09 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-01-31 15:40:09 -0500 |
commit | 5a287a1132e787ded443c5fe954d7834447d705a (patch) | |
tree | ad9afd9d7a144efd32c518ceaa46e1449dc56102 /src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h | |
parent | Get a lot more cache system setup for OSInterface backend. (diff) | |
download | lumina-5a287a1132e787ded443c5fe954d7834447d705a.tar.gz lumina-5a287a1132e787ded443c5fe954d7834447d705a.tar.bz2 lumina-5a287a1132e787ded443c5fe954d7834447d705a.zip |
Another large batch of work on Lumina 2.
1. Bypass a Qt bug in multi-session "DISPLAY" number detection
2. Start getting the system tray all setup. Not quite there yet (still some QML issues)
3. Convert all the Menu's to QtControls2 (actually works on multiple screens)
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h b/src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h index 0e48c000..41c75a46 100644 --- a/src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h @@ -22,7 +22,10 @@ public: void start(); - WId viewID(){ return root_view->parent()->winId(); } + WId viewID(){ + if(root_view->parent()!=0){ return root_view->parent()->winId(); } + return root_view->winId(); + } public slots: void syncRootSize(); |