diff options
author | Ken Moore <ken@ixsystems.com> | 2017-05-25 15:15:27 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-05-25 15:15:27 -0400 |
commit | 2f06b47c824fb59a45a0468a97a8f1b18b451d0b (patch) | |
tree | 7497c4ad02d3f16b3362449677bd39d657108c9e /src-qt5/core | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-2f06b47c824fb59a45a0468a97a8f1b18b451d0b.tar.gz lumina-2f06b47c824fb59a45a0468a97a8f1b18b451d0b.tar.bz2 lumina-2f06b47c824fb59a45a0468a97a8f1b18b451d0b.zip |
enable some debugging on the virtualbox window detection/adjustment routine.
Diffstat (limited to 'src-qt5/core')
-rw-r--r-- | src-qt5/core/lumina-desktop/LSession.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp index 02a08782..8b143449 100644 --- a/src-qt5/core/lumina-desktop/LSession.cpp +++ b/src-qt5/core/lumina-desktop/LSession.cpp @@ -687,9 +687,11 @@ void LSession::WindowPropertyEvent(WId win){ if(RunningApps.contains(win)){ if(DEBUG){ qDebug() << "Single-window property event"; } if( XCB->WindowClass(win).contains("VirtualBox")){ + qDebug() << "Found VirtualBox Window:"; QList<LXCB::WINDOWSTATE> states = XCB->WM_Get_Window_States(win); if(states.contains(LXCB::S_FULLSCREEN) && !states.contains(LXCB::S_HIDDEN)){ - XCB->WM_Set_Window_Type(win, QList<LXCB::WINDOWTYPE>() << LXCB::T_NORMAL ); + qDebug() << "Adjusting VirtualBox Window (fullscreen)"; + XCB->WM_Set_Window_Type(win, QList<LXCB::WINDOWTYPE>() << LXCB::T_NORMAL << LXCB::T_UTILITY ); XCB->RestoreWindow(win); } } |