aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/LSession.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-05-26 08:20:18 -0400
committerKen Moore <ken@ixsystems.com>2017-05-26 08:20:18 -0400
commit84bdfc3fdf4db8e7fe2cb4c08ba1f9b6cbf09a63 (patch)
treef7dd09bb6b88d1d06826108ac845752b1fc36e34 /src-qt5/core/lumina-desktop/LSession.cpp
parentGet the new LIconCache class all setup and compiling. Now to actually start t... (diff)
parentDisable the VirtualBox fullscreen detection/fix logic (diff)
downloadlumina-84bdfc3fdf4db8e7fe2cb4c08ba1f9b6cbf09a63.tar.gz
lumina-84bdfc3fdf4db8e7fe2cb4c08ba1f9b6cbf09a63.tar.bz2
lumina-84bdfc3fdf4db8e7fe2cb4c08ba1f9b6cbf09a63.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core/lumina-desktop/LSession.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/LSession.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp
index 8932ac36..d03ab4d3 100644
--- a/src-qt5/core/lumina-desktop/LSession.cpp
+++ b/src-qt5/core/lumina-desktop/LSession.cpp
@@ -686,6 +686,15 @@ void LSession::WindowPropertyEvent(WId win){
//Emit the single-app signal if the window in question is one used by the task manager
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)){
+ qDebug() << "Adjusting VirtualBox Window (fullscreen)";
+ XCB->WM_Set_Window_Type(win, QList<LXCB::WINDOWTYPE>() << LXCB::T_NORMAL << LXCB::T_UTILITY );
+ XCB->RestoreWindow(win);
+ }
+ }*/
//emit WindowListEvent();
WindowPropertyEvent(); //Run through the entire routine for window checks
}else if(RunningTrayApps.contains(win)){
bgstack15