diff options
Simplify client y-offset correction
The reasoning behind the original line may be lost to time as
it does not make much sense checking the position on the x-axis
to determine how to position the client on the y-axis.
In the context of multi-monitor setups the monitor y position
(m->my) may be greater than 0 (say 500), in which case the window
could be placed out of view if:
- the window attributes have a 0 value for the y position and
- we end up using the y position of bh (e.g. 22)
If the aim is to avoid a new floating client covering the bar then
restricting y position to be at least that of the window area
(m->wy) should cover the two cases of using a top bar and using a
bottom bar.
Diffstat (limited to 'dwm%2525252525252525252525253fid%2525252525252525252525253d213ebbe06af29dfe511f6f0ff0d2a48529a5cfa2%25252525252525252525253fid%25252525252525252525253da24510be84e22c98a2e4fca81c5cd2fa91207281%252525252525252525253fid%252525252525252525253d643dda856b7c02edb36079a267b4647da81ab6e4%2525252525252525253fid%2525252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%25252525252525253fid%25252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%252525252525253fid%252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%2525252525253fid%2525252525253d970f37697358574e127019eb0ee2f5725ec05ce0%25252525253fid%25252525253d970f37697358574e127019eb0ee2f5725ec05ce0%252525253fid%252525253d970f37697358574e127019eb0ee2f5725ec05ce0%2525253fid%2525253dc2b748e7931e5f28984efc236f9b1a212dbc65e8%25253fid%25253d84d7322113c2bf023f5eaa8537fb0e72d4105046%253fid%253d5799dd1fca6576b662d299e210cd5933b29d502d%3fid%3d44adafe0069e73aa03a3829d7bb39591cd8b3f1d?id=a859676ead17017bbe81b4989b2f2e0b00a0b4ba')
0 files changed, 0 insertions, 0 deletions