summaryrefslogtreecommitdiff
path: root/dwm.c.rej
diff options
context:
space:
mode:
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);