diff --git a/dwm/dwm-fullscreen-compilation-6.3.diff b/dwm/dwm-fullscreen-compilation-6.3.diff index d1e4716..442a22d 100644 --- a/dwm/dwm-fullscreen-compilation-6.3.diff +++ b/dwm/dwm-fullscreen-compilation-6.3.diff @@ -1,4 +1,4 @@ -From 26143b40a079f2bded51a6e01dba8530bec8e486 Mon Sep 17 00:00:00 2001 +From 9738136a6fa4e731aad5d1127d9e256ebc724ba5 Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Mon, 10 Jan 2022 11:47:56 +0100 Subject: [PATCH] Compilation of fullscreen patches for dwm. @@ -26,8 +26,8 @@ This incorporates, and expands on, the following patches: - losefullscreen --- config.def.h | 5 +- - dwm.c | 174 ++++++++++++++++++++++++++++++++++++++++++--------- - 2 files changed, 147 insertions(+), 32 deletions(-) + dwm.c | 176 ++++++++++++++++++++++++++++++++++++++++++--------- + 2 files changed, 148 insertions(+), 33 deletions(-) diff --git a/config.def.h b/config.def.h index a2ac963..5f28f2c 100644 @@ -56,7 +56,7 @@ index a2ac963..5f28f2c 100644 { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, diff --git a/dwm.c b/dwm.c -index a96f33c..dbea07a 100644 +index a96f33c..53f0bd4 100644 --- a/dwm.c +++ b/dwm.c @@ -93,6 +93,7 @@ struct Client { @@ -327,11 +327,12 @@ index a96f33c..dbea07a 100644 + if (c->isfullscreen && c->fakefullscreen != 1) /* no support for fullscreen windows */ return; - selmon->sel->isfloating = !selmon->sel->isfloating || selmon->sel->isfixed; -+ c->isfloating = !c->isfloating || c->isfixed; - if (selmon->sel->isfloating) +- if (selmon->sel->isfloating) - resize(selmon->sel, selmon->sel->x, selmon->sel->y, - selmon->sel->w, selmon->sel->h, 0); - arrange(selmon); ++ c->isfloating = !c->isfloating || c->isfixed; ++ if (c->isfloating) + resize(c, c->x, c->y, c->w, c->h, 0); + arrange(c->mon); +} diff --git a/dwm/dwm-fullscreen-compilation-noborder-6.3.diff b/dwm/dwm-fullscreen-compilation-noborder-6.3.diff index e6d5604..64df8a7 100644 --- a/dwm/dwm-fullscreen-compilation-noborder-6.3.diff +++ b/dwm/dwm-fullscreen-compilation-noborder-6.3.diff @@ -1,4 +1,4 @@ -From 7c7f76b5981d64c8309c3c9d91a6de881076c137 Mon Sep 17 00:00:00 2001 +From 1d6a64f277ae11bfdea1d2af4dcbc4be43664e0b Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Mon, 10 Jan 2022 11:50:15 +0100 Subject: [PATCH 2/2] Adding fake fullscreen compatible noborder patch @@ -8,7 +8,7 @@ Subject: [PATCH 2/2] Adding fake fullscreen compatible noborder patch 1 file changed, 9 insertions(+) diff --git a/dwm.c b/dwm.c -index dbea07a..4990319 100644 +index 53f0bd4..972e8cd 100644 --- a/dwm.c +++ b/dwm.c @@ -1307,6 +1307,15 @@ resizeclient(Client *c, int x, int y, int w, int h) diff --git a/dwm/dwm-fullscreen-compilation-noborder-6.3_full.diff b/dwm/dwm-fullscreen-compilation-noborder-6.3_full.diff index 2905845..271dc76 100644 --- a/dwm/dwm-fullscreen-compilation-noborder-6.3_full.diff +++ b/dwm/dwm-fullscreen-compilation-noborder-6.3_full.diff @@ -1,4 +1,4 @@ -From 26143b40a079f2bded51a6e01dba8530bec8e486 Mon Sep 17 00:00:00 2001 +From 9738136a6fa4e731aad5d1127d9e256ebc724ba5 Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Mon, 10 Jan 2022 11:47:56 +0100 Subject: [PATCH 1/2] Compilation of fullscreen patches for dwm. @@ -26,8 +26,8 @@ This incorporates, and expands on, the following patches: - losefullscreen --- config.def.h | 5 +- - dwm.c | 174 ++++++++++++++++++++++++++++++++++++++++++--------- - 2 files changed, 147 insertions(+), 32 deletions(-) + dwm.c | 176 ++++++++++++++++++++++++++++++++++++++++++--------- + 2 files changed, 148 insertions(+), 33 deletions(-) diff --git a/config.def.h b/config.def.h index a2ac963..5f28f2c 100644 @@ -56,7 +56,7 @@ index a2ac963..5f28f2c 100644 { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, diff --git a/dwm.c b/dwm.c -index a96f33c..dbea07a 100644 +index a96f33c..53f0bd4 100644 --- a/dwm.c +++ b/dwm.c @@ -93,6 +93,7 @@ struct Client { @@ -327,11 +327,12 @@ index a96f33c..dbea07a 100644 + if (c->isfullscreen && c->fakefullscreen != 1) /* no support for fullscreen windows */ return; - selmon->sel->isfloating = !selmon->sel->isfloating || selmon->sel->isfixed; -+ c->isfloating = !c->isfloating || c->isfixed; - if (selmon->sel->isfloating) +- if (selmon->sel->isfloating) - resize(selmon->sel, selmon->sel->x, selmon->sel->y, - selmon->sel->w, selmon->sel->h, 0); - arrange(selmon); ++ c->isfloating = !c->isfloating || c->isfixed; ++ if (c->isfloating) + resize(c, c->x, c->y, c->w, c->h, 0); + arrange(c->mon); +} @@ -355,7 +356,7 @@ index a96f33c..dbea07a 100644 2.19.1 -From 7c7f76b5981d64c8309c3c9d91a6de881076c137 Mon Sep 17 00:00:00 2001 +From 1d6a64f277ae11bfdea1d2af4dcbc4be43664e0b Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Mon, 10 Jan 2022 11:50:15 +0100 Subject: [PATCH 2/2] Adding fake fullscreen compatible noborder patch @@ -365,7 +366,7 @@ Subject: [PATCH 2/2] Adding fake fullscreen compatible noborder patch 1 file changed, 9 insertions(+) diff --git a/dwm.c b/dwm.c -index dbea07a..4990319 100644 +index 53f0bd4..972e8cd 100644 --- a/dwm.c +++ b/dwm.c @@ -1307,6 +1307,15 @@ resizeclient(Client *c, int x, int y, int w, int h)