Bugfix: Send clients their absolute position/size in generated configure events, not relative

This fixes ticket #26.
This commit is contained in:
Michael Stapelberg
2009-04-11 22:37:48 +02:00
parent b7e8a63474
commit a2d20b6848
5 changed files with 29 additions and 6 deletions

View File

@ -110,6 +110,13 @@ void xcb_draw_rect(xcb_connection_t *conn, xcb_drawable_t drawable, xcb_gcontext
*/
void fake_configure_notify(xcb_connection_t *conn, Rect r, xcb_window_t window);
/**
* Generates a configure_notify_event with absolute coordinates (relative to the X root
* window, not to the clients frame) for the given client.
*
*/
void fake_absolute_configure_notify(xcb_connection_t *conn, Client *client);
/**
* Finds out which modifier mask is the one for numlock, as the user may change this.
*