summaryrefslogtreecommitdiff
path: root/drw.o%25252525252525252525253fid%25252525252525252525253da24510be84e22c98a2e4...
diff options
context:
space:
mode:
authorStein <bakkeby@gmail.com>2022-08-09 10:38:08 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-08-10 15:31:21 +0200
commita859676ead17017bbe81b4989b2f2e0b00a0b4ba (patch)
tree6f3dda2ac548478b739c648e36e2a7a60dde660f /drw.o%25252525252525252525253fid%25252525252525252525253da24510be84e22c98a2e4fca81c5cd2fa91207281%252525252525252525253fid%252525252525252525253d643dda856b7c02edb36079a267b4647da81ab6e4%2525252525252525253fid%2525252525252525253d643dda856b7c02edb36079a267b4647da81ab6e4%25252525252525253fid%25252525252525253deb1619b7f22da24f6b5c5f6806428fda67214bb8%252525252525253fid%252525252525253deb1619b7f22da24f6b5c5f6806428fda67214bb8%2525252525253fid%2525252525253d2e5612566918898a7edf5b526162e644863f30d0%25252525253fid%25252525253d2e5612566918898a7edf5b526162e644863f30d0%252525253fid%252525253d04c2d3bf025044724b4d06d782067fd58d36b498%2525253fid%2525253d00cfdc0aa7a75aae42303cebda46ffaa95803b27%25253fid%25253d6d6e0ea56f6784dd35173eff2d17c259b1588d0e%253fid%253d6d6e0ea56f6784dd35173eff2d17c259b1588d0e&id2%253da859676ead17017bbe81b4989b2f2e0b00a0b4ba%3fid%3d6d6e0ea56f6784dd35173eff2d17c259b1588d0e?id=a859676ead17017bbe81b4989b2f2e0b00a0b4ba
parente0dee911455cee739a5b05a994828f4a37a2764d (diff)
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 'drw.o%25252525252525252525253fid%25252525252525252525253da24510be84e22c98a2e4fca81c5cd2fa91207281%252525252525252525253fid%252525252525252525253d643dda856b7c02edb36079a267b4647da81ab6e4%2525252525252525253fid%2525252525252525253d643dda856b7c02edb36079a267b4647da81ab6e4%25252525252525253fid%25252525252525253deb1619b7f22da24f6b5c5f6806428fda67214bb8%252525252525253fid%252525252525253deb1619b7f22da24f6b5c5f6806428fda67214bb8%2525252525253fid%2525252525253d2e5612566918898a7edf5b526162e644863f30d0%25252525253fid%25252525253d2e5612566918898a7edf5b526162e644863f30d0%252525253fid%252525253d04c2d3bf025044724b4d06d782067fd58d36b498%2525253fid%2525253d00cfdc0aa7a75aae42303cebda46ffaa95803b27%25253fid%25253d6d6e0ea56f6784dd35173eff2d17c259b1588d0e%253fid%253d6d6e0ea56f6784dd35173eff2d17c259b1588d0e&id2%253da859676ead17017bbe81b4989b2f2e0b00a0b4ba%3fid%3d6d6e0ea56f6784dd35173eff2d17c259b1588d0e?id=a859676ead17017bbe81b4989b2f2e0b00a0b4ba')
0 files changed, 0 insertions, 0 deletions