Changeset 57101 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 27, 2015 5:27:26 PM (9 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/platform/x11
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/VBoxX11Helper.cpp
r57098 r57101 70 70 &iReturnedFormat, &ulReturnedItemCount, &ulDummy, &pcData) == Success) 71 71 { 72 if (QString((const char*)pcData).contains("Compiz", Qt::CaseInsensitive)) 73 wmType = X11WMType_Compiz; 74 else 75 if (QString((const char*)pcData).contains("GNOME Shell", Qt::CaseInsensitive)) 76 wmType = X11WMType_GNOMEShell; 77 else 72 78 if (QString((const char*)pcData).contains("KWin", Qt::CaseInsensitive)) 73 79 wmType = X11WMType_KWin; 74 else75 if (QString((const char*)pcData).contains("Compiz", Qt::CaseInsensitive))76 wmType = X11WMType_Compiz;77 80 else 78 81 if (QString((const char*)pcData).contains("Mutter", Qt::CaseInsensitive)) 79 82 wmType = X11WMType_Mutter; 80 83 else 81 if (QString((const char*)pcData).contains(" GNOME Shell", Qt::CaseInsensitive))82 wmType = X11WMType_ GnomeShell;84 if (QString((const char*)pcData).contains("Xfwm4", Qt::CaseInsensitive)) 85 wmType = X11WMType_Xfwm4; 83 86 if (pcData) 84 87 XFree(pcData); -
trunk/src/VBox/Frontends/VirtualBox/src/platform/x11/VBoxX11Helper.h
r57098 r57101 23 23 { 24 24 X11WMType_Unknown, 25 X11WMType_Compiz, 26 X11WMType_GNOMEShell, 25 27 X11WMType_KWin, 26 X11WMType_Compiz,27 28 X11WMType_Mutter, 28 X11WMType_ GnomeShell,29 X11WMType_Xfwm4, 29 30 }; 30 31
Note:
See TracChangeset
for help on using the changeset viewer.