summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-11-21 14:44:24 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-11-21 20:50:39 -0600
commit087373698afeab0af9257358955f1c3c772d24e3 (patch)
tree640c3c8884cdff7fe085f404c443d1d3bf2df732
parentcaec566286b1bbef1758bcf0599677650017c5b9 (diff)
Revert "Add a configuration option for fullscreen locking"
now all fullcreen clients are rendered above tiled and floating clients This partially reverts commit 326eee14445f8a2c08e80c30778445630c75d3bb.
-rw-r--r--config.def.h1
-rw-r--r--dwl.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index b3caab3..0473b40 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,7 +1,6 @@
/* appearance */
static const int sloppyfocus = 1; /* focus follows mouse */
static const unsigned int borderpx = 1; /* border pixel of windows */
-static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
static const float rootcolor[] = {0.3, 0.3, 0.3, 1.0};
static const float bordercolor[] = {0.5, 0.5, 0.5, 1.0};
static const float focuscolor[] = {1.0, 0.0, 0.0, 1.0};
diff --git a/dwl.c b/dwl.c
index aacc345..c1ff934 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1156,7 +1156,7 @@ focusstack(const Arg *arg)
{
/* Focus the next or previous client (in tiling order) on selmon */
Client *c, *sel = selclient();
- if (!sel || (sel->isfullscreen && lockfullscreen))
+ if (!sel || sel->isfullscreen)
return;
if (arg->i > 0) {
wl_list_for_each(c, &sel->link, link) {