summaryrefslogtreecommitdiff
path: root/dwm.c.rej
diff options
context:
space:
mode:
authorbtkoch <brandon@brandon-desktop.localdomain>2023-11-27 13:51:31 -0500
committerbtkoch <brandon@brandon-desktop.localdomain>2023-11-27 13:51:31 -0500
commitb8ed6bb138b28ba3632b51b840b6d1be5e4decec (patch)
tree3c36b5e800ba162369809ad3555acdc2932f961f /dwm.c.rej
parente81f17d4c196aaed6893fd4beed49991caa3e2a4 (diff)
update
Diffstat (limited to 'dwm.c.rej')
-rw-r--r--dwm.c.rej23
1 files changed, 23 insertions, 0 deletions
diff --git a/dwm.c.rej b/dwm.c.rej
new file mode 100644
index 0000000..eef5e59
--- /dev/null
+++ b/dwm.c.rej
@@ -0,0 +1,23 @@
+--- config.def.h
++++ config.def.h
+@@ -35,7 +35,7 @@ static const Rule rules[] = {
+ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
+ static const int nmaster = 1; /* number of clients in master area */
+ static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
+-static const int lockfullscreen = 0; /* 1 will force focus on the fullscreen window */
++static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
+
+ static const Layout layouts[] = {
+ /* symbol arrange function */
+--- dwm.c
++++ dwm.c
+@@ -565,6 +566,9 @@ configurenotify(XEvent *e)
+ drw_resize(drw, sw, bh);
+ updatebars();
+ for (m = mons; m; m = m->next) {
++ for (c = m->clients; c; c = c->next)
++ if (c->isfullscreen)
++ resizeclient(c, m->mx, m->my, m->mw, m->mh);
+ XMoveResizeWindow(dpy, m->barwin, m->wx, m->by, m->ww, bh);
+ }
+ focus(NULL);