diff options
Diffstat (limited to 'src/clients/mod.rs')
-rw-r--r-- | src/clients/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/mod.rs b/src/clients/mod.rs index c370e04..37a88c0 100644 --- a/src/clients/mod.rs +++ b/src/clients/mod.rs @@ -193,7 +193,7 @@ impl ClientState { // TODO: inserting at index 0 is why dwm uses linked lists, maybe this can be improved self.mons[mon].clients.insert(0, Client::new(window)); - let MonitorGeometry { + let mon_geom @ MonitorGeometry { width: mon_width, height: mon_height, .. @@ -213,7 +213,7 @@ impl ClientState { if floating { c.set_floating(conn); } - c.update_window_type(conn); + c.update_window_type(conn, &mon_geom); c.ensure_mapped(conn); c.sync_properties(conn, true); |