summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Cella <guidocella91@gmail.com>2020-09-08 13:36:46 +0200
committerGuido Cella <guidocella91@gmail.com>2020-09-08 13:36:46 +0200
commit62250661cf0b6441e4a4179dfb7e63bd164a55e5 (patch)
treee498a9f978a1bbd66eee8f0ba91e553f50122b5b
parent68412d8957ea31f92014dfc8813a1f294a55211b (diff)
remove unneeded line
The bug was caused by usable_area's x and y not being set in arrangelayers. For example if on a 2nd HD monitor, x should be 1920 while the first one ends at 1919. So I don't see why m->m should be recalculated after creating the monitor.
-rw-r--r--dwl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index e85b6d3..a191f5e 100644
--- a/dwl.c
+++ b/dwl.c
@@ -463,7 +463,6 @@ applyrules(Client *c)
void
arrange(Monitor *m)
{
- m->m = *wlr_output_layout_get_box(output_layout, m->wlr_output);
if (m->lt[m->sellt]->arrange)
m->lt[m->sellt]->arrange(m);
/* XXX recheck pointer focus here... or in resize()? */