summaryrefslogtreecommitdiff
path: root/%25252525252525252525252525252525252525253fid%2525252525252525252525252525252...
diff options
context:
space:
mode:
authorStein <bakkeby@gmail.com>2022-08-11 11:15:55 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-08-12 09:02:34 +0200
commit44adafe0069e73aa03a3829d7bb39591cd8b3f1d (patch)
treeec82bb37bf7d03446872c5777b8b74a7156ad506 /%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7&id2%252525252525252525252525252525252525253d89f9905714c1c1b2e8b09986dfbeca15b68d8af8%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7&id2%2525252525252525252525252525252525253d89f9905714c1c1b2e8b09986dfbeca15b68d8af8%25252525252525252525252525252525253fid%25252525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7&id2%25252525252525252525252525252525253d89f9905714c1c1b2e8b09986dfbeca15b68d8af8%252525252525252525252525252525253fid%252525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7&id2%252525252525252525252525252525253d89f9905714c1c1b2e8b09986dfbeca15b68d8af8%2525252525252525252525252525253fid%2525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7%25252525252525252525252525253fid%25252525252525252525252525253d89f9905714c1c1b2e8b09986dfbeca15b68d8af8%252525252525252525252525253fid%252525252525252525252525253dba56fe9fea0a28d8184a727a987836a0903e2682%2525252525252525252525253fid%2525252525252525252525253dba56fe9fea0a28d8184a727a987836a0903e2682&id2%2525252525252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%25252525252525252525253fid%25252525252525252525253dba56fe9fea0a28d8184a727a987836a0903e2682%252525252525252525253fid%252525252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%2525252525252525253fid%2525252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%25252525252525253fid%25252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%252525252525253fid%252525252525253d970f37697358574e127019eb0ee2f5725ec05ce0%2525252525253fid%2525252525253dc2b748e7931e5f28984efc236f9b1a212dbc65e8%25252525253fid%25252525253d84d7322113c2bf023f5eaa8537fb0e72d4105046%252525253fid%252525253d5799dd1fca6576b662d299e210cd5933b29d502d%2525253fid%2525253d5799dd1fca6576b662d299e210cd5933b29d502d%25253fid%25253d5799dd1fca6576b662d299e210cd5933b29d502d&id2%25253d44adafe0069e73aa03a3829d7bb39591cd8b3f1d%253fid%253d5799dd1fca6576b662d299e210cd5933b29d502d%3fid%3d5799dd1fca6576b662d299e210cd5933b29d502d?id=44adafe0069e73aa03a3829d7bb39591cd8b3f1d
parenta859676ead17017bbe81b4989b2f2e0b00a0b4ba (diff)
Make floating windows spawn within the monitor's window area
This is a follow-up on this thread: https://lists.suckless.org/hackers/2208/18462.html The orginal code had constraints such that if a window's starting attributes (position and size) were to place the window outside of the edges of the monitor, then the window would be moved into view at the closest monitor edge. There was an exception to this where if a top bar is used then the window should not obscure the bar if present, which meant to place the window within the window area instead. The proposed change here makes it the general rule that floating windows should spawn within the window area rather than within the monitor area. This makes it simple and consistent with no exceptions and it makes the intention of the code clear. This has the benefit of making the behaviour consistent regardless of whether the user is using a top bar or a bottom bar. Additionally this will have an effect on patches that modify the size of the window area. For example if the insets patch is used to reserve space on the left hand side of the monitor for a dock or a vertical bar then new floating clients will not obscure that area.
Diffstat (limited to '%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7&id2%252525252525252525252525252525252525253d89f9905714c1c1b2e8b09986dfbeca15b68d8af8%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7&id2%2525252525252525252525252525252525253d89f9905714c1c1b2e8b09986dfbeca15b68d8af8%25252525252525252525252525252525253fid%25252525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7&id2%25252525252525252525252525252525253d89f9905714c1c1b2e8b09986dfbeca15b68d8af8%252525252525252525252525252525253fid%252525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7&id2%252525252525252525252525252525253d89f9905714c1c1b2e8b09986dfbeca15b68d8af8%2525252525252525252525252525253fid%2525252525252525252525252525253d712d6639ff8e863560328131bbb92b248dc9cde7%25252525252525252525252525253fid%25252525252525252525252525253d89f9905714c1c1b2e8b09986dfbeca15b68d8af8%252525252525252525252525253fid%252525252525252525252525253dba56fe9fea0a28d8184a727a987836a0903e2682%2525252525252525252525253fid%2525252525252525252525253dba56fe9fea0a28d8184a727a987836a0903e2682&id2%2525252525252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%25252525252525252525253fid%25252525252525252525253dba56fe9fea0a28d8184a727a987836a0903e2682%252525252525252525253fid%252525252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%2525252525252525253fid%2525252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%25252525252525253fid%25252525252525253d50ad171eea9db5ccb36fce2592e047c3282975ff%252525252525253fid%252525252525253d970f37697358574e127019eb0ee2f5725ec05ce0%2525252525253fid%2525252525253dc2b748e7931e5f28984efc236f9b1a212dbc65e8%25252525253fid%25252525253d84d7322113c2bf023f5eaa8537fb0e72d4105046%252525253fid%252525253d5799dd1fca6576b662d299e210cd5933b29d502d%2525253fid%2525253d5799dd1fca6576b662d299e210cd5933b29d502d%25253fid%25253d5799dd1fca6576b662d299e210cd5933b29d502d&id2%25253d44adafe0069e73aa03a3829d7bb39591cd8b3f1d%253fid%253d5799dd1fca6576b662d299e210cd5933b29d502d%3fid%3d5799dd1fca6576b662d299e210cd5933b29d502d?id=44adafe0069e73aa03a3829d7bb39591cd8b3f1d')
0 files changed, 0 insertions, 0 deletions