Bugfix: Correctly handle moving fullscreen client onto another screen (Thanks dirkson)

This commit is contained in:
Michael Stapelberg
2009-06-25 13:46:47 +02:00
parent aa2f20ce26
commit 8659419ef6
3 changed files with 85 additions and 54 deletions

View File

@ -44,6 +44,13 @@ void client_kill(xcb_connection_t *conn, Client *window);
bool client_matches_class_name(Client *client, char *to_class, char *to_title,
char *to_title_ucs, int to_title_ucs_len);
/**
* Enters fullscreen mode for the given client. This is called by toggle_fullscreen
* and when moving a fullscreen client to another screen.
*
*/
void client_enter_fullscreen(xcb_connection_t *conn, Client *client);
/**
* Toggles fullscreen mode for the given client. It updates the data structures and
* reconfigures (= resizes/moves) the client and its frame to the full size of the