2020-05-01 20:54:26 +00:00
|
|
|
From baaeaa28dfc361b38e218c7c089edd7867b15c53 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 11:40:30 +0200
|
|
|
|
Subject: [PATCH] Lose fullscreen on focus change
|
|
|
|
|
|
|
|
---
|
|
|
|
dwm.c | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/dwm.c b/dwm.c
|
|
|
|
index 4465af1..520a794 100644
|
|
|
|
--- a/dwm.c
|
|
|
|
+++ b/dwm.c
|
|
|
|
@@ -1751,6 +1751,8 @@ unfocus(Client *c, int setfocus)
|
|
|
|
{
|
|
|
|
if (!c)
|
|
|
|
return;
|
|
|
|
+ if (c->isfullscreen && ISVISIBLE(c))
|
|
|
|
+ setfullscreen(c, 0);
|
|
|
|
grabbuttons(c, 0);
|
|
|
|
XSetWindowBorder(dpy, c->win, scheme[SchemeNorm][ColBorder].pixel);
|
|
|
|
if (setfocus) {
|
|
|
|
--
|
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
|
|
|
|