Bugfix: Check if a floating window’s coordinates are within a different workspace when managing (Thanks Merovius)

Fixes: #297
This commit is contained in:
Michael Stapelberg
2011-04-18 19:28:03 +02:00
parent 60532a90e7
commit f613df48d2
2 changed files with 40 additions and 20 deletions

View File

@ -59,6 +59,13 @@ void toggle_floating_mode(Con *con, bool automatic);
*/
void floating_raise_con(Con *con);
/**
* Checks if cons coordinates are within its workspace and re-assigns it to
* the actual workspace if not.
*
*/
bool floating_maybe_reassign_ws(Con *con);
#if 0
/**
* Removes the floating client from its workspace and attaches it to the new