Fix dragging floating containers / click handling

This commit is contained in:
Michael Stapelberg
2010-12-31 01:38:17 +01:00
parent daf00a932f
commit 2d05c3a37d
5 changed files with 90 additions and 26 deletions

View File

@ -54,6 +54,13 @@ Con *con_get_fullscreen_con(Con *con);
*/
bool con_is_floating(Con *con);
/**
* Checks if the given container is either floating or inside some floating
* container. It returns the FLOATING_CON container.
*
*/
Con *con_inside_floating(Con *con);
/**
* Returns the container with the given client window ID or NULL if no such
* container exists.