Bugfix: Fix drag&drop in GTK applications (firefox, thunderbird)
Thanks to Daniel Wäber’s contribution to wmii: http://code.suckless.org/hg/wmii/rev/f4f25de0de54
This commit is contained in:
@ -220,8 +220,8 @@ void fake_configure_notify(xcb_connection_t *conn, Rect r, xcb_window_t window)
|
||||
void fake_absolute_configure_notify(xcb_connection_t *conn, Client *client) {
|
||||
Rect absolute;
|
||||
|
||||
absolute.x = client->rect.x;
|
||||
absolute.y = client->rect.y;
|
||||
absolute.x = client->rect.x + client->child_rect.x;
|
||||
absolute.y = client->rect.y + client->child_rect.y;
|
||||
absolute.width = client->rect.width - (2 * client->child_rect.x);
|
||||
absolute.height = client->rect.height - client->child_rect.y - 1;
|
||||
|
||||
|
Reference in New Issue
Block a user