mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-17 23:00:55 -05:00
Request correct information to get virt desktop count
This commit is contained in:
@@ -442,7 +442,7 @@ bool GetVirtualDesktopCount(long &ndesktops)
|
||||
return false;
|
||||
}
|
||||
|
||||
request = XInternAtom(display, "_NET_CURRENT_DESKTOP", False);
|
||||
request = XInternAtom(display, "_NET_NUMBER_OF_DESKTOPS", False);
|
||||
root = XDefaultRootWindow(display);
|
||||
|
||||
int status = XGetWindowProperty(display, root, request, 0L, 1L, false,
|
||||
|
||||
Reference in New Issue
Block a user