Implement resizing floating clients with Mod1 + right mouse button

This commit is contained in:
Michael Stapelberg
2009-08-22 07:49:28 +02:00
parent 32532792cd
commit c7ba95e79d
4 changed files with 50 additions and 2 deletions

View File

@ -55,6 +55,15 @@ int floating_border_click(xcb_connection_t *conn, Client *client,
void floating_drag_window(xcb_connection_t *conn, Client *client,
xcb_button_press_event_t *event);
/**
* Called when the user right-clicked on the titlebar of a floating window to
* resize it.
* Calls the drag_pointer function with the resize_window callback
*
*/
void floating_resize_window(xcb_connection_t *conn, Client *client,
xcb_button_press_event_t *event);
/**
* Changes focus in the given direction for floating clients.
*