2020-05-01 20:54:26 +00:00
|
|
|
From e74ccf3918f4628d6995af3aa38d47fe17a6cc3b Mon Sep 17 00:00:00 2001
|
Adding attachx, autostart, center, cyclelayouts, fancybar, flextile, focusonnetactive, losefullscreen, pertag, resizecorners, rotatestack, savefloats, single-tagset, statuspadding, switchtag, systray, tagallmon, tagmonfixfs, tagswapmon, togglefullscreen, windowrolerule and zoomswap patches
2020-04-07 16:24:23 +00:00
|
|
|
From: bakkeby <bakkeby@gmail.com>
|
|
|
|
Date: Tue, 7 Apr 2020 12:04:11 +0200
|
|
|
|
Subject: [PATCH] tagmonfixfs: Allow moving a fullscreen window to another
|
|
|
|
monitor
|
|
|
|
|
|
|
|
---
|
2020-04-27 18:44:50 +00:00
|
|
|
dwm.c | 12 ++++++++++--
|
|
|
|
1 file changed, 10 insertions(+), 2 deletions(-)
|
Adding attachx, autostart, center, cyclelayouts, fancybar, flextile, focusonnetactive, losefullscreen, pertag, resizecorners, rotatestack, savefloats, single-tagset, statuspadding, switchtag, systray, tagallmon, tagmonfixfs, tagswapmon, togglefullscreen, windowrolerule and zoomswap patches
2020-04-07 16:24:23 +00:00
|
|
|
|
|
|
|
diff --git a/dwm.c b/dwm.c
|
2020-04-27 18:44:50 +00:00
|
|
|
index 4465af1..39cece0 100644
|
Adding attachx, autostart, center, cyclelayouts, fancybar, flextile, focusonnetactive, losefullscreen, pertag, resizecorners, rotatestack, savefloats, single-tagset, statuspadding, switchtag, systray, tagallmon, tagmonfixfs, tagswapmon, togglefullscreen, windowrolerule and zoomswap patches
2020-04-07 16:24:23 +00:00
|
|
|
--- a/dwm.c
|
|
|
|
+++ b/dwm.c
|
2020-04-27 18:44:50 +00:00
|
|
|
@@ -1665,9 +1665,17 @@ tag(const Arg *arg)
|
Adding attachx, autostart, center, cyclelayouts, fancybar, flextile, focusonnetactive, losefullscreen, pertag, resizecorners, rotatestack, savefloats, single-tagset, statuspadding, switchtag, systray, tagallmon, tagmonfixfs, tagswapmon, togglefullscreen, windowrolerule and zoomswap patches
2020-04-07 16:24:23 +00:00
|
|
|
void
|
|
|
|
tagmon(const Arg *arg)
|
|
|
|
{
|
|
|
|
- if (!selmon->sel || !mons->next)
|
|
|
|
+ Client *c = selmon->sel;
|
|
|
|
+ if (!c || !mons->next)
|
|
|
|
return;
|
|
|
|
- sendmon(selmon->sel, dirtomon(arg->i));
|
|
|
|
+ if (c->isfullscreen) {
|
2020-04-27 18:44:50 +00:00
|
|
|
+ c->isfullscreen = 0;
|
|
|
|
+ sendmon(c, dirtomon(arg->i));
|
|
|
|
+ c->isfullscreen = 1;
|
|
|
|
+ resizeclient(c, c->mon->mx, c->mon->my, c->mon->mw, c->mon->mh);
|
|
|
|
+ XRaiseWindow(dpy, c->win);
|
|
|
|
+ } else
|
|
|
|
+ sendmon(c, dirtomon(arg->i));
|
Adding attachx, autostart, center, cyclelayouts, fancybar, flextile, focusonnetactive, losefullscreen, pertag, resizecorners, rotatestack, savefloats, single-tagset, statuspadding, switchtag, systray, tagallmon, tagmonfixfs, tagswapmon, togglefullscreen, windowrolerule and zoomswap patches
2020-04-07 16:24:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
--
|
2020-05-01 20:54:26 +00:00
|
|
|
2.19.1
|
Adding attachx, autostart, center, cyclelayouts, fancybar, flextile, focusonnetactive, losefullscreen, pertag, resizecorners, rotatestack, savefloats, single-tagset, statuspadding, switchtag, systray, tagallmon, tagmonfixfs, tagswapmon, togglefullscreen, windowrolerule and zoomswap patches
2020-04-07 16:24:23 +00:00
|
|
|
|