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