fix(desktop): require windmove

This commit is contained in:
Pavel Korytov 2023-07-27 00:57:42 +03:00
parent bea3f8c93d
commit 3a47b44068
2 changed files with 4 additions and 0 deletions

View file

@ -31,6 +31,8 @@
:foreground (doom-color 'yellow)
:weight 'bold)))
(require 'windmove)
(defun my/exwm-direction-exists-p (dir)
"Check if there is space in the direction DIR.

View file

@ -281,6 +281,8 @@ I can't say it's better or worse than the built-in functionality or one provided
So, first, we need a predicate that checks whether there is space in the given direction:
#+begin_src emacs-lisp
(require 'windmove)
(defun my/exwm-direction-exists-p (dir)
"Check if there is space in the direction DIR.