From b8ed6bb138b28ba3632b51b840b6d1be5e4decec Mon Sep 17 00:00:00 2001 From: btkoch Date: Mon, 27 Nov 2023 13:51:31 -0500 Subject: update --- dwm.c.rej | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 dwm.c.rej (limited to 'dwm.c.rej') 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); -- cgit v1.2.3