]> git.sur5r.net Git - i3/i3/commit - src/manage.c
Consider motif border for floating geometry
authorTony Crisci <tony@dubstepdish.com>
Fri, 20 Jun 2014 11:26:36 +0000 (07:26 -0400)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 24 Jun 2014 07:19:17 +0000 (09:19 +0200)
commit43b447855df095c56e860117d53acd0dd09ac42b
tree26c58126e12aeb2f3b939c2615906eb9066ce3d1
parent14ec68526b3548551a83bba2a9142dc0bd17f19d
Consider motif border for floating geometry

When calculating the geometry of a floating window with motif hints that
specify a border style, take into account that this window will have a
different border style when calculating its position with
floating_enable() when the window becomes managed.

A nice side effect of this is that users can override motif hints with
`new_float` config directives when they are specified other than
`normal`.

fixes #1270
src/manage.c