- commit
- 907696f5e7e4c053e2d394a0c7990d06ba6fc7cc
- parent
- 2fd324976a1dc670bce2453aaf3fca029b5b4a30
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2019-10-18 06:01
avoid shortcuts for XConfigureWindow
Diffstat
| M | xiwm.c | 7 | +++++-- |
1 files changed, 5 insertions, 2 deletions
diff --git a/xiwm.c b/xiwm.c
@@ -271,6 +271,7 @@ void 271 271 layout(void) 272 272 { 273 273 Client *c; -1 274 XWindowChanges wc; 274 275 275 276 // show before hide to avoid flicker 276 277 for (c = clients; c; c = c->next) { @@ -285,8 +286,10 @@ layout(void) 285 286 } 286 287 287 288 for (c = clients; c; c = c->next)288 -1 if (!ISVISIBLE(c) && !c->isdock)289 -1 XMoveWindow(dpy, c->win, sw * -2, c->y);-1 289 if (!ISVISIBLE(c) && !c->isdock) { -1 290 wc.x = sw * -2; -1 291 XConfigureWindow(dpy, c->win, CWX, &wc); -1 292 } 290 293 291 294 layoutcolumn(PLeft, 0, sw * mfact); 292 295 layoutcolumn(PRight, sw * mfact, sw - sw * mfact);