Lines Matching refs:focus
27 * Request to set and get an input device's focus.
51 swapl(&stuff->focus);
81 if (!dev->focus)
84 return SetInputFocus(client, dev, stuff->focus, RevertToParent,
101 if (!dev->focus)
111 if (dev->focus->win == NoneWin)
112 rep.focus = None;
113 else if (dev->focus->win == PointerRootWin)
114 rep.focus = PointerRoot;
115 else if (dev->focus->win == FollowKeyboardWin)
116 rep.focus = FollowKeyboard;
118 rep.focus = dev->focus->win->drawable.id;
129 swapl(&rep->focus);