diff options
-rw-r--r-- | exwm-cm.el | 4 | ||||
-rw-r--r-- | exwm-input.el | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/exwm-cm.el b/exwm-cm.el index 223ef5da303c..060dce780bf3 100644 --- a/exwm-cm.el +++ b/exwm-cm.el @@ -146,6 +146,7 @@ The value is between 0 (fully transparent) to #xFFFFFFFF (opaque)." (when reply (slot-value reply 'value)))) +;;;###autoload (defun exwm-cm-set-opacity (xwin opacity) "Set the opacity of X window XWIN to OPACITY. @@ -1759,17 +1760,20 @@ Create implicit workspace frame container"))) (add-hook 'exwm-init-hook #'exwm-cm--init t) (add-hook 'exwm-exit-hook #'exwm-cm--exit t)) +;;;###autoload (defun exwm-cm-start () "Start EXWM compositing manager." (interactive) (unless exwm-cm--conn (exwm-cm--init))) +;;;###autoload (defun exwm-cm-stop () "Stop EXWM compositing manager." (interactive) (exwm-cm--exit)) +;;;###autoload (defun exwm-cm-toggle () "Toggle the running state of EXWM compositing manager." (interactive) diff --git a/exwm-input.el b/exwm-input.el index 302b3d9f2ae7..38fd751affe1 100644 --- a/exwm-input.el +++ b/exwm-input.el @@ -435,6 +435,7 @@ This value should always be overwritten.") (user-error "[EXWM] Failed to grab key: %s" (single-key-description k)))))))))) +;;;###autoload (defun exwm-input-set-key (key command) "Set a global key binding." (interactive "KSet key globally: \nCSet key %s to command: ") |