diff options
author | Samuel Fadel <samuel@nihil.ws> | 2022-12-21 22:37:36 +0100 |
---|---|---|
committer | Samuel Fadel <samuel@nihil.ws> | 2022-12-21 22:37:36 +0100 |
commit | 475f4dc3d514edef85633999809bb028aff01b97 (patch) | |
tree | 0e44a699c02670cca0732b7eeac9a07fbed32e16 /wm.scm | |
parent | e48ed1e15400fcc42c513870f84bca5277cc1579 (diff) |
Fix border drawing in tile toggling functions & launcher impl.
* init.scm: Launcher impl and helpers
* wm.scm: Launcher with fork & execlp (execvp)
* schewm.c: Fix border by explicitly calling border drawing proc after
restoring window size
Diffstat (limited to 'wm.scm')
-rw-r--r-- | wm.scm | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,7 @@ wm-grab-key-with-mod wm-grab-key-with-mod-shift wm-set-key-press-handler! + wm-exec-cmd wm-focus-prev wm-focus-next wm-focus-close @@ -240,3 +241,7 @@ (procedure->pointer void handler (list uint16 uint32)))) + +(define (wm-exec-cmd . args) + (when (eq? (primitive-fork) 0) + (apply execlp (cons (car args) args)))) |