Bugfix: Recognize clicks as client clicks (opposed to border_clicks) when clients send them for their parent window

See comment, happened for example with xfontsel. You normally got
to see the resize bar (when having >1 column, of course).
This commit is contained in:
Michael Stapelberg
2009-08-04 22:47:42 +02:00
parent 4c373c2128
commit af3972aa9f
2 changed files with 14 additions and 0 deletions

View File

@ -43,6 +43,8 @@ int resize_graphical_handler(xcb_connection_t *conn, Workspace *ws, int first, i
return 1;
}
LOG("event->event_x = %d, event->root_x = %d\n", event->event_x, event->root_x);
LOG("Screen dimensions: (%d, %d) %d x %d\n", screen->rect.x, screen->rect.y, screen->rect.width, screen->rect.height);
/* FIXME: horizontal resizing causes empty spaces to exist */