summaryrefslogtreecommitdiff
path: root/wm.scm
diff options
context:
space:
mode:
authorSamuel Fadel <samuel@nihil.ws>2022-12-22 14:33:56 +0100
committerSamuel Fadel <samuel@nihil.ws>2022-12-22 14:33:56 +0100
commit2a6802cba40a701b9c4f92b7ea8734e73e066575 (patch)
treeb312642783e63b6cc3904a67a6387d53d9b794d3 /wm.scm
parent475f4dc3d514edef85633999809bb028aff01b97 (diff)
General bug fixes and improvements.
Diffstat (limited to 'wm.scm')
-rw-r--r--wm.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/wm.scm b/wm.scm
index 40b5d1d..5b4a313 100644
--- a/wm.scm
+++ b/wm.scm
@@ -38,7 +38,7 @@
;; Configuration record
(define-record-type <wm-config>
(make-config
- inner-border-width
+ border-width
outer-border-width
magnet-border-width
offset-x
@@ -51,9 +51,9 @@
empty-color
outer-color)
wm-config?
- (inner-border-width config-inner-border-width set-config-inner-border-width!)
- (outer-border-width config-outer-border-width set-config-outer-border-width!)
- (magnet-border-width config-magnet-border-width set-config-magnet-border-width!)
+ (border-width config-border-width set-config-border-width!)
+ (outer-border-width config-outer-border-width set-config-outer-border-width!)
+ (magnet-border-width config-magnet-border-width set-config-magnet-border-width!)
(offset-x config-offset-x set-config-offset-x!)
(offset-y config-offset-y set-config-offset-y!)
(offset-width config-offset-width set-config-offset-width!)
@@ -113,7 +113,7 @@
uint32)))
(define (wm-reconfigure config)
- (c/wm-reconfigure (config-inner-border-width config)
+ (c/wm-reconfigure (config-border-width config)
(config-outer-border-width config)
(config-magnet-border-width config)
(config-offset-x config)
@@ -244,4 +244,4 @@
(define (wm-exec-cmd . args)
(when (eq? (primitive-fork) 0)
- (apply execlp (cons (car args) args))))
+ (apply execlp (car args) args)))