- Timestamp:
- May 21, 2007 9:19:13 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r2708 r2726 166 166 // Another reason to handle events asynchronously is that internally 167 167 // most callback interface methods are called from under the initiator 168 // object's lock, so accessing the initiator object (for exam ile, reading168 // object's lock, so accessing the initiator object (for example, reading 169 169 // some property) directly from the callback method will definitely cause 170 170 // a deadlock. … … 2889 2889 if (aSwitchDesktop) 2890 2890 { 2891 /* try to find a desktop ID*/2891 /* try to find the desktop ID using the NetWM property */ 2892 2892 CARD32 *desktop = (CARD32 *) XXGetProperty (dpy, aWId, XA_CARDINAL, 2893 2893 "_NET_WM_DESKTOP"); 2894 2894 if (desktop == NULL) 2895 /* if the NetWM propery is not supported try to find the desktop 2896 * ID using the GNOME WM property */ 2895 2897 desktop = (CARD32 *) XXGetProperty (dpy, aWId, XA_CARDINAL, 2896 2898 "_WIN_WORKSPACE"); … … 2903 2905 if (!ok) 2904 2906 { 2905 LogWarningFunc (("Couldn't swit h to desktop=%08X\n",2907 LogWarningFunc (("Couldn't switch to desktop=%08X\n", 2906 2908 desktop)); 2907 2909 result = false;
Note:
See TracChangeset
for help on using the changeset viewer.