Warp cursor when changing workspace.

This commit is contained in:
Valentin Voigt
2011-08-11 21:57:22 +02:00
committed by Michael Stapelberg
parent 318dfce42f
commit bf0c67b2af
3 changed files with 25 additions and 0 deletions

View File

@ -152,4 +152,10 @@ void xcb_set_window_rect(xcb_connection_t *conn, xcb_window_t window, Rect r);
bool xcb_reply_contains_atom(xcb_get_property_reply_t *prop, xcb_atom_t atom);
/**
* Moves the mouse pointer into the middle of rect.
*
*/
void xcb_warp_pointer_rect(xcb_connection_t *conn, Rect *rect);
#endif