2
0
mirror of https://github.com/bakkeby/patches synced 2024-11-13 07:10:31 +00:00

rebasing off fullscreen-compilation

This commit is contained in:
bakkeby 2021-06-09 13:59:04 +02:00
parent f23594fd0a
commit 7f3408d273
4 changed files with 14 additions and 14 deletions

View File

@ -1,4 +1,4 @@
From 6fe4ab2ab8347f7b7288efbeb393593cc885b6a5 Mon Sep 17 00:00:00 2001
From b151e3d6ca421112b86e6b17328bf8aabd51ab9c Mon Sep 17 00:00:00 2001
From: bakkeby <bakkeby@gmail.com>
Date: Tue, 15 Sep 2020 08:34:59 +0200
Subject: [PATCH 2/2] Adding fake fullscreen compatible noborder patch
@ -8,10 +8,10 @@ Subject: [PATCH 2/2] Adding fake fullscreen compatible noborder patch
1 file changed, 9 insertions(+)
diff --git a/dwm.c b/dwm.c
index 74307ad..eaaf033 100644
index b1d0936..36b0608 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1293,6 +1293,15 @@ resizeclient(Client *c, int x, int y, int w, int h)
@@ -1314,6 +1314,15 @@ resizeclient(Client *c, int x, int y, int w, int h)
c->oldw = c->w; c->w = wc.width = w;
c->oldh = c->h; c->h = wc.height = h;
wc.border_width = c->bw;

View File

@ -1,4 +1,4 @@
From 55cdcb33d04d6271ca720f8cb07b6820caac6a61 Mon Sep 17 00:00:00 2001
From e0e096f565942088fa14774433523e43136e0e36 Mon Sep 17 00:00:00 2001
From: bakkeby <bakkeby@gmail.com>
Date: Wed, 12 May 2021 16:05:54 +0200
Subject: [PATCH 2/2] Adding fake fullscreen client rule
@ -26,7 +26,7 @@ index 5f28f2c..dd98367 100644
/* layout(s) */
diff --git a/dwm.c b/dwm.c
index 74307ad..b6a64e4 100644
index b1d0936..246888f 100644
--- a/dwm.c
+++ b/dwm.c
@@ -139,6 +139,7 @@ typedef struct {
@ -37,7 +37,7 @@ index 74307ad..b6a64e4 100644
int monitor;
} Rule;
@@ -302,6 +303,7 @@ applyrules(Client *c)
@@ -303,6 +304,7 @@ applyrules(Client *c)
{
c->isfloating = r->isfloating;
c->tags |= r->tags;

View File

@ -1,4 +1,4 @@
From 62f53f4025048b478bf9951f81742b3c6f65b09d Mon Sep 17 00:00:00 2001
From edc9e38090cea18f638a0c6a70fc836f0e42780b Mon Sep 17 00:00:00 2001
From: bakkeby <bakkeby@gmail.com>
Date: Sat, 5 Sep 2020 18:24:28 +0200
Subject: [PATCH 2/2] Adding fullscreen-compilation compatible tagallmon patch
@ -22,10 +22,10 @@ index 5f28f2c..0d5456a 100644
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
diff --git a/dwm.c b/dwm.c
index 74307ad..1e8c847 100644
index b1d0936..6417513 100644
--- a/dwm.c
+++ b/dwm.c
@@ -208,6 +208,7 @@ static void showhide(Client *c);
@@ -209,6 +209,7 @@ static void showhide(Client *c);
static void sigchld(int unused);
static void spawn(const Arg *arg);
static void tag(const Arg *arg);
@ -33,7 +33,7 @@ index 74307ad..1e8c847 100644
static void tagmon(const Arg *arg);
static void tile(Monitor *);
static void togglebar(const Arg *arg);
@@ -1723,6 +1724,50 @@ tag(const Arg *arg)
@@ -1744,6 +1745,50 @@ tag(const Arg *arg)
}
}

View File

@ -1,4 +1,4 @@
From 69e0705d78f3e3691ae5bacc199ca61bcaf04ea4 Mon Sep 17 00:00:00 2001
From 747adbe7b2fe9cb0ad7275117b48b4168500b452 Mon Sep 17 00:00:00 2001
From: bakkeby <bakkeby@gmail.com>
Date: Sat, 5 Sep 2020 18:22:35 +0200
Subject: [PATCH 2/2] Adding fullscreen-compilation compatible tagswapmon patch
@ -22,10 +22,10 @@ index 5f28f2c..c47cddb 100644
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
diff --git a/dwm.c b/dwm.c
index 74307ad..90dff7d 100644
index b1d0936..6e5bc3d 100644
--- a/dwm.c
+++ b/dwm.c
@@ -209,6 +209,7 @@ static void sigchld(int unused);
@@ -210,6 +210,7 @@ static void sigchld(int unused);
static void spawn(const Arg *arg);
static void tag(const Arg *arg);
static void tagmon(const Arg *arg);
@ -33,7 +33,7 @@ index 74307ad..90dff7d 100644
static void tile(Monitor *);
static void togglebar(const Arg *arg);
static void togglefakefullscreen(const Arg *arg);
@@ -1741,6 +1742,71 @@ tagmon(const Arg *arg)
@@ -1762,6 +1763,71 @@ tagmon(const Arg *arg)
sendmon(c, dirtomon(arg->i));
}