document the different cases for click handling

This commit is contained in:
Michael Stapelberg 2011-03-05 20:35:16 +01:00
parent 24463718cc
commit 5024c0da95
1 changed files with 15 additions and 0 deletions

View File

@ -612,6 +612,21 @@ When moving up/down, the container needs to leave the floating container and it
needs to be placed on the workspace (at workspace level). This is accomplished needs to be placed on the workspace (at workspace level). This is accomplished
by calling the function +attach_to_workspace+. by calling the function +attach_to_workspace+.
== Click handling
Without much ado, here is the list of cases which need to be considered:
* click to focus (tiling + floating) and raise (floating)
* click to focus/raise when in stacked/tabbed mode
* floating_modifier + left mouse button to drag a floating con
* floating_modifier + right mouse button to resize a floating con
* click on decoration in a floating con to either initiate a resize (if there
is more than one child in the floating con) or to drag the
floating con (if its the one at the top).
* click on border in a floating con to resize the floating con
* floating_modifier + right mouse button to resize a tiling con
* click on border/decoration to resize a tiling con
== Gotchas == Gotchas
* Forgetting to call `xcb_flush(conn);` after sending a request. This usually * Forgetting to call `xcb_flush(conn);` after sending a request. This usually