[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/exwm 587a8ca 10/14: Add interactive commands for starti
From: |
Chris Feng |
Subject: |
[elpa] externals/exwm 587a8ca 10/14: Add interactive commands for starting and stopping EXWM |
Date: |
Thu, 8 Mar 2018 12:08:07 -0500 (EST) |
branch: externals/exwm
commit 587a8cad1db06f2735054ad2dff0d6346093a7be
Author: Adrián Medraño Calvo <address@hidden>
Commit: Adrián Medraño Calvo <address@hidden>
Add interactive commands for starting and stopping EXWM
* exwm.el (exwm-reset): Remove autoload cookie.
(exwm-init, exwm-exit): Add autoload cookie and interactive
declaration.
---
exwm-workspace.el | 2 +-
exwm.el | 9 ++++++---
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/exwm-workspace.el b/exwm-workspace.el
index a852eb8..0a1984b 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -1576,7 +1576,7 @@ applied to all subsequently created X frames."
;; (client . nil)
(fullscreen . nil)
(buffer-predicate . nil))))
- ;; Restore the 'client' frame parameter (before `exwm--exit').
+ ;; Restore the 'client' frame parameter (before `exwm-exit').
(when exwm-workspace--client
(dolist (f exwm-workspace--list)
(set-frame-parameter f 'client exwm-workspace--client))
diff --git a/exwm.el b/exwm.el
index 8c57a07..06b66c2 100644
--- a/exwm.el
+++ b/exwm.el
@@ -104,7 +104,6 @@
(defvar exwm--server-process nil "Process of the subordinate Emacs server.")
-;;;###autoload
(defun exwm-reset ()
"Reset the state of the selected window (non-fullscreen, line-mode, etc)."
(interactive)
@@ -690,8 +689,10 @@
:property p))
(xcb:flush exwm--connection)))
+;;;###autoload
(defun exwm-init (&optional frame)
"Initialize EXWM."
+ (interactive)
(if frame
;; The frame might not be selected if it's created by emacslicnet.
(select-frame-set-input-focus frame)
@@ -735,8 +736,10 @@
(exwm-manage--scan)
(run-hooks 'exwm-init-hook)))))
-(defun exwm--exit ()
+;;;###autoload
+(defun exwm-exit ()
"Exit EXWM."
+ (interactive)
(run-hooks 'exwm-exit-hook)
(setq confirm-kill-emacs nil)
;; Exit modules.
@@ -855,7 +858,7 @@
(run-hooks 'kill-emacs-hook)
(setq kill-emacs-hook nil))
;; Exit each module, destroying all resources created by this connection.
- (exwm--exit)
+ (exwm-exit)
;; Set the return value.
t))
- [elpa] externals/exwm 4660e04 01/14: Prevent duplicate keys in frameset-filter-alist, (continued)
- [elpa] externals/exwm 4660e04 01/14: Prevent duplicate keys in frameset-filter-alist, Chris Feng, 2018/03/08
- [elpa] externals/exwm c00331a 03/14: Cleanup exwm-layout on exit, Chris Feng, 2018/03/08
- [elpa] externals/exwm d3be64e 05/14: Factor out `exwm-randr--on-ScreenChangeNotify', Chris Feng, 2018/03/08
- [elpa] externals/exwm 4f7abf4 04/14: Cleanup exwm-manage on exit, Chris Feng, 2018/03/08
- [elpa] externals/exwm a2b6cfb 08/14: * exwm.el (exwm--exit): Drop SubstructureRedirect on root window., Chris Feng, 2018/03/08
- [elpa] externals/exwm 81529c2 02/14: Cleanup exwm-input on exit, Chris Feng, 2018/03/08
- [elpa] externals/exwm ce8af83 09/14: Disconnect on `exwm--exit', Chris Feng, 2018/03/08
- [elpa] externals/exwm 350950a 12/14: Clean up when failing to start, Chris Feng, 2018/03/08
- [elpa] externals/exwm a51be88 07/14: Cleanup exwm-workspace on exit, Chris Feng, 2018/03/08
- [elpa] externals/exwm cf98e3d 11/14: Name all helper windows created by EXWM, Chris Feng, 2018/03/08
- [elpa] externals/exwm 587a8ca 10/14: Add interactive commands for starting and stopping EXWM,
Chris Feng <=
- [elpa] externals/exwm 7aae6ef 13/14: Support replacing and being replaced by other window managers, Chris Feng, 2018/03/08
- [elpa] externals/exwm 2f430db 14/14: Minor fixes, Chris Feng, 2018/03/08
- [elpa] externals/exwm 33a1a28 06/14: Dissociate frame creation and deletion handlers from the actual configuration of frames as workspaces, Chris Feng, 2018/03/08