Home | History | Annotate | Download | only in x

Lines Matching defs:desktop

592 bool GetCurrentDesktop(int* desktop) {
593 return GetIntProperty(GetX11RootWindow(), "_NET_CURRENT_DESKTOP", desktop);
681 // windows on desktop switch, so we also must check the current desktop.
1032 bool GetWindowDesktop(XID window, int* desktop) {
1033 return GetIntProperty(window, "_NET_WM_DESKTOP", desktop);
1388 int desktop;
1389 if (!GetWindowDesktop(destination, &desktop))
1392 // If |window| is sticky, use the current desktop.
1393 if (desktop == kAllDesktops &&
1394 !GetCurrentDesktop(&desktop))
1402 event.xclient.data.l[0] = desktop;
1455 // which we don't even do in the desktop screen yet.