Introduction
Introduction Statistics Contact Development Disclaimer Help
[dwm][patches][defaultmfact] - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
commit 8f55f8e835a88057068933fe3fe638203b98c4b6
parent bb95ccab5e7c4c06335d71fd118f92d3b703b3a9
Author: elbachir-one <[email protected]>
Date: Fri, 3 Jan 2025 14:40:32 +0100
[dwm][patches][defaultmfact]
- Fixed index.md (typos).
- Fixed dwm-defaultmfact-6.5.diff ('MASTER_DEFAULT' undeclared).
Diffstat:
M dwm.suckless.org/patches/defaultmf… | 12 ++++++------
M dwm.suckless.org/patches/defaultmf… | 9 ++++-----
2 files changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/dwm.suckless.org/patches/defaultmfact/dwm-defaultmfact-6.5.diff b/…
@@ -17,7 +17,7 @@ index 9efa774..368fc0e 100644
/* layout(s) */
-static const float mfact = 0.55; /* factor of master area size [0.05..0.9…
-+#define DEFAULT_MFACT
++#define DEFAULT_MFACT 0.55
+static const float mfact = DEFAULT_MFACT; /* factor of master area size […
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled r…
@@ -42,11 +42,11 @@ index 1443802..057fde7 100644
void
setmfact(const Arg *arg)
{
-+ if (arg->f <= -1.0) {
-+ selmon->mfact = MASTER_DEFAULT;
-+ arrange(selmon);
-+ return;
-+ }
++ if (arg->f <= -1.0) {
++ selmon->mfact = DEFAULT_MFACT;
++ arrange(selmon);
++ return;
++ }
+
float f;
diff --git a/dwm.suckless.org/patches/defaultmfact/index.md b/dwm.suckless.org/…
@@ -3,14 +3,13 @@ defaultmfact
Description
-----------
-Allows master tile separator to be reset to default value (DEFAULT_MFACT).
-Default keybinding for this behaviour is MODMASK + XK_equal.
-
-Tested only with Tiled layout so far.
+Allows the master tile separator to be reset to its default value (DEFAULT_MFA…
+The default keybinding for this behavior is MODMASK + XK_equal.
+This functionality has been tested only with the Tiled layout so far.
Download
--------
-* [dwm-defaultmfact-6.5.diff](dwm-defaultmfact-6.5.diff), 2025-01-03
+* [dwm-defaultmfact-6.5.diff](dwm-defaultmfact-6.5.diff) (2025-01-03)
Author
------
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.