diff options
Diffstat (limited to 'src-qt5/core/lumina-desktop/LSession.cpp')
-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); } } |