From: Fernando Tarlá Cardoso Lemos Date: Sun, 29 Jan 2012 19:15:18 +0000 (-0200) Subject: Mention floating_fix_coordinates in the hacking how-to. X-Git-Tag: 4.2~80 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=23abfcf7f20c81e9938a2fbbb97af2792bfbea04;p=i3%2Fi3 Mention floating_fix_coordinates in the hacking how-to. --- diff --git a/docs/hacking-howto b/docs/hacking-howto index 836d5701..73ae9633 100644 --- a/docs/hacking-howto +++ b/docs/hacking-howto @@ -936,6 +936,11 @@ Without much ado, here is the list of cases which need to be considered: leads to code which looks like it works fine but which does not work under certain conditions. +* Forgetting to call `floating_fix_coordinates(con, old_rect, new_rect)` after + moving workspaces across outputs. Coordinates for floating containers are + not relative to workspace boundaries, so you must correct their coordinates + or those containers will show up in the wrong workspace or not at all. + == Using git / sending patches For a short introduction into using git, see