; Use `derived-mode-p'.
This commit is contained in:
parent
1364f80f09
commit
bc5f0b3ffa
6 changed files with 27 additions and 26 deletions
2
exwm.el
2
exwm.el
|
|
@ -108,7 +108,7 @@
|
|||
"Reset the state of the selected window (non-fullscreen, line-mode, etc)."
|
||||
(interactive)
|
||||
(with-current-buffer (window-buffer)
|
||||
(when (eq major-mode 'exwm-mode)
|
||||
(when (derived-mode-p 'exwm-mode)
|
||||
(when (exwm-layout--fullscreen-p)
|
||||
(exwm-layout-unset-fullscreen))
|
||||
;; Force refresh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue