Lines Matching refs:focus
27 * Request to set and get an input device's focus.
53 swapl(&stuff->focus, n);
85 if (!dev->focus)
88 return SetInputFocus(client, dev, stuff->focus, RevertToParent,
105 if (!dev->focus)
113 if (dev->focus->win == NoneWin)
114 rep.focus = None;
115 else if (dev->focus->win == PointerRootWin)
116 rep.focus = PointerRoot;
117 else if (dev->focus->win == FollowKeyboardWin)
118 rep.focus = FollowKeyboard;
120 rep.focus = dev->focus->win->drawable.id;
132 swapl(&rep->focus, n);