mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-23 19:47:58 +01:00
floating windows - hide tab-line by default\ntab-line-mode is not functional as is in floating windows so hide the tab-line unless explicitly set in configuration
This commit is contained in:
parent
02ffa3359c
commit
2f75d20ad4
1 changed files with 4 additions and 14 deletions
|
@ -299,20 +299,10 @@ context of the corresponding buffer."
|
|||
(frame-root-window frame)))
|
||||
header-line-format nil)))
|
||||
|
||||
(if floating-tab-line
|
||||
(setq exwm--tab-line-format (or exwm--tab-line-format
|
||||
tab-line-format)
|
||||
tab-line-format floating-tab-line)
|
||||
(if (and (not (plist-member exwm--configurations 'floating-tab-line))
|
||||
exwm--mwm-hints-decorations)
|
||||
(when exwm--tab-line-format
|
||||
(setq tab-line-format exwm--tab-line-format))
|
||||
;; The mode-line need to be hidden in floating mode.
|
||||
(setq frame-height (- frame-height (window-tab-line-height
|
||||
(frame-root-window frame)))
|
||||
exwm--tab-line-format (or exwm--tab-line-format
|
||||
tab-line-format)
|
||||
tab-line-format nil)))
|
||||
;; Hide tab-line by default but override with floating-tab-line.
|
||||
(setq exwm--tab-line-format (or exwm--tab-line-format
|
||||
tab-line-format)
|
||||
tab-line-format floating-tab-line)
|
||||
|
||||
(set-frame-size frame frame-width frame-height t)
|
||||
;; Create the frame container as the parent of the frame.
|
||||
|
|
Loading…
Reference in a new issue