Introduction
Introduction Statistics Contact Development Disclaimer Help
fix fullscreen clients not resized on X display resolution change - dwm - dynam…
git clone git://git.suckless.org/dwm
Log
Files
Refs
README
LICENSE
---
commit 3465bed290abc62cb2e69a8096084ba6b8eb4956
parent 4ec3a673ff81275a9157d6801ea4a2b17031e5ba
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 19 Dec 2015 20:25:26 +0100
fix fullscreen clients not resized on X display resolution change
patch provided by Bert Münnich <ber.t_AT_posteo.de>, thanks!
Diffstat:
M dwm.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/dwm.c b/dwm.c
@@ -565,6 +565,7 @@ void
configurenotify(XEvent *e)
{
Monitor *m;
+ Client *c;
XConfigureEvent *ev = &e->xconfigure;
int dirty;
@@ -576,8 +577,12 @@ configurenotify(XEvent *e)
if (updategeom() || dirty) {
drw_resize(drw, sw, bh);
updatebars();
- for (m = mons; m; m = m->next)
+ for (m = mons; m; m = m->next) {
+ for (c = m->clients; c; c = c->next)
+ if (c->isfullscreen)
+ resizeclient(c, m->mx, m->my, …
XMoveResizeWindow(dpy, m->barwin, m->wx, m->by…
+ }
focus(NULL);
arrange(NULL);
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.