about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2022-11-22 Pick the correct line height for the systemtraySteven Allen1-1/+2
* exwm-systemtray.el (exwm-systemtray--init): Use the line-height of the minibuffer-window, not that of the selected one.
2022-11-11 Bump version to 0.27Adrián Medraño Calvo1-1/+1
2022-11-09 Default exwm-systemtray color to `workspace-background'Adrián Medraño Calvo1-4/+1
* exwm-systemtray.el (exwm-systemtray-background-color): Change default to `workspace-background', as it's supported in all configurations.
2022-11-09 Refresh the tray icon background when updating the background colorSteven Allen1-4/+14
* exwm-systemtray.el (exwm-systemtray--refresh-background-color): Add optional parameter REMAP to force redrawing of the background. (exwm-systemtray--on-theme-change): Use it.
2022-11-09 * exwm-systemtray.el (exwm-systemtray--on-theme-change): Add missing parameter.Steven Allen1-1/+1
2022-11-09 * exwm-systemtray.el (exwm-systemtray--init): Set EWMH window type to dock.Adrián Medraño Calvo1-1/+7
2022-11-09 Support setting system tray background color to current workspace'sAdrián Medraño Calvo1-7/+27
* exwm-systemtray.el (exwm-systemtray-background-color): Add support for using current workspace's background color as system tray background color. (exwm-systemtray--refresh-background-color): New function to set the background color upon theme changes or workspace switches. (exwm-systemtray--on-workspace-switch) (exwm-systemtray--on-theme-change): Use it. (exwm-systemtray--init): React to theme changes.
2022-11-04 Use default visual, depth and colormap in systray embedder windowAdrián Medraño Calvo1-43/+116
We were using the Emacs' frame's depth, but not the visual nor colormap. This failed with Emacs 29 and its support for 32-bit depths. We now use the default screen's visual: using a non-default visual in the system tray requires support for embedding icons with different visuals, which is not implemented. We restrict our limited transparency support to Emacs frames with depth equal to the default visual's detph. * exwm-core.el (exwm--get-visual-depth-colormap): New function. * exwm-systemtray.el (exwm-systemtray--init): Use root window's visual, depth and colormap. Reset all attributes that refer (perhaps due to defaults) to the parent window, as it might have a different visual, depth or colormap. (exwm-systemtray--init): Set _NET_SYSTEM_TRAY_VISUAL. (exwm-systemtray-background-color): Emit a warning when transparency is selected but not supported. (exwm-systemtray--set-background-color): New function to set embedder window background. (exwm-systemtray--embedder-window-depth): Add variable. (exwm-systemtray--transparency-supported-p): New function to check whether transparency is supported.
2022-10-29 Merge branch 'j4m3s-s.github.com/master' into externals/exwmAdrián Medraño Calvo1-1/+1
2022-10-29 Merge branch 'mgi.github.com/mgi/fix' into externals/exwmAdrián Medraño Calvo1-4/+9
2022-10-29 Fix logging order in exwm-workspace--set-activeJames1-1/+1
* exwm-workspace.el (exwm-workspace--set-active): Swap logging arguments to match message. Copyright-paperwork-exempt: yes
2022-10-29 Merge branch 'stebalien.github.com/fix/hide-floating-tabs' into externals/exwmAdrián Medraño Calvo1-0/+2
2022-10-29 Focus workspace frames upon _NET_ACTIVE_WINDOWManuel Giraud1-4/+9
* exwm.el (exwm--on-ClientMessage): Take care of focusing workspace frames when a _NET_ACTIVE_WINDOW message is received for a workspace frame. This is responsibility of the window manager when it advertises _NET_ACTIVE_WINDOW support, which we do. Emacs versions before 29 took care of setting the input focus to the frame. Thanks-to: Po Lu for the work on Emacs and assistance with this issue.
2022-07-26 Hide tab-bar on floating windowsSteven Allen1-0/+2
Floating windows are dedicated to a specific buffer anyways. * exwm-floating.el (exwm-floating--set-floating): Hide the tab bar.
2022-03-24 Use 32-bit visual for frame containersAdrián Medraño Calvo2-4/+32
* exwm-core.el (exwm--get-visual-depth-colormap): New function. * exwm-workspace.el (exwm-workspace--add-frame-as-workspace): Use Emacs' frame's visual, depth and colormap. Reset all attributes that refer (also by default) to the parent window (the root window), as it might have a different visual, depth or colormap. Special-thanks-to: Elijah Malaby <qwe12345678910@gmail.com> for figuring out the changes needed to suport 32-bit visuals and proposing the initial version of this improvement.
2022-02-10 Set WM_STATE on emacs framesElijah Malaby1-0/+5
* exwm-workspace.el (exwm-workspace--add-frame-as-workspace): Set WM_STATE. Copyright-paperwork-exempt: yes
2022-02-10 Add license fileAdrián Medraño Calvo1-0/+674
* LICENSE: Add file.
2021-11-10 Bump version to 0.26Adrián Medraño Calvo1-1/+1
2021-11-10 Fix previous commit "Remove duplicate code"Adrián Medraño Calvo1-3/+5
* exwm-layout.el (exwm-layout-unset-fullscreen): `xcb:Atom:_NET_WM_STATE_FULLSCREEN' must be excised before invoking `exwm-layout--show'.
2021-11-02 Correct wrong variable nameAdrián Medraño Calvo1-1/+1
* exwm-workspace.el (exwm-workspace--on-delete-frame): Correct misstyped name of variable `exwm-workspace--client-p-hash-table'.
2021-10-30 Remove duplicate codeAdrián Medraño Calvo1-2/+0
* exwm-layout.el (exwm-layout-unset-fullscreen): Remove double removal of `xcb:Atom:_NET_WM_STATE_FULLSCREEN' from `exwm--ewmh-state'.
2021-10-30 Merge branch 'mattbeshara.github.com/less-consy-workspace--client-p' into ↵Adrián Medraño Calvo1-3/+15
externals/exwm
2021-10-30 Merge branch 'tumashu.github.com/master' into externals/exwmAdrián Medraño Calvo1-0/+7
2021-10-30 Bump version to 0.25Adrián Medraño Calvo1-1/+1
2021-10-29 Update copyright year to 2021Adrián Medraño Calvo12-12/+12
2021-10-29 New maintainerAdrián Medraño Calvo1-1/+1
2021-10-25 Explicitly remove workspace frames from client-p cache when deletedMatt Beshara1-1/+2
* exwm-workspace.el (exwm-workspace--on-delete-frame): Clean up hash table entries upon removing a workspace.
2021-10-25 Rename variable using ‘exwm-workspace’ package prefix; add docstringMatt Beshara1-4/+6
* exwm-workspace.el (exwm-workspace--client-p-hash-table): Rename `exwm--client-p-hash-table'.
2021-10-25 Use a hash table to cache result of ‘exwm-workspace--client-p’Matt Beshara1-2/+11
* exwm-workspace.el (exwm--client-p-hash-table): New variable. (exwm-workspace--client-p): Use `exwm--client-p-hash-table' to store which workspace frames are client frames instead of frequently invoking `frame-parameter'.
2021-10-25 Merge branch 'tumashu.github.com/master' into externals/exwmAdrián Medraño Calvo1-0/+7
2021-10-25 Add variable indicating XIM buffersFeng Shu1-0/+7
* exwm-xim.el (exwm-xim-buffer-p): New variable. (exwm-xim--handle-forward-event-request): Add exwm-xim-buffer-p
2020-07-12 Make button events working with winner-modeChris Feng1-11/+17
* exwm-input.el (exwm-input--fake-last-command): Extracted for reuse. (exwm-input--on-ButtonPress, exwm-input--on-KeyPress-line-mode): Use it.
2020-06-14 Fix fullscreen statesChris Feng1-2/+4
* exwm-layout.el (exwm-layout-set-fullscreen, exwm-layout-unset-fullscreen): Use `exwm--id' for interactive use. (exwm-layout-unset-fullscreen): Mandatorily clear fullscreen states.
2020-05-24 Bump version to 0.24Chris Feng1-1/+1
2020-05-10 Clarify the use of `exwm-config-default'Chris Feng2-2/+5
* exwm-config.el (exwm-config-example): Renamed from `exwm-config-default' to make it clear it's just an example.
2020-05-10 Make return key work in exwm-ximChris Feng1-1/+2
* exwm-xim.el (exwm-xim--handle-forward-event-request): Send all key events to Emacs while invoking an input method (don't rely on its keymap definition).
2020-05-10 Merge branch 'medranocalvo/upcase-menu-item' into externals/exwmChris Feng1-1/+1
2020-05-10 Merge branch 'medranocalvo/prevent-jump-back-workspace' into externals/exwmChris Feng1-5/+5
2020-05-10 Merge branch 'medranocalvo/input-mode-change-hook' into externals/exwmChris Feng1-2/+8
2020-05-06 ; Upcase menu itemAdrián Medraño Calvo1-1/+1
2020-05-06 Prevent jumping back to previous workspaceAdrián Medraño Calvo1-5/+5
* exwm-workspace.el (exwm-workspace-switch): Focus out old frame before switching to the new one to prevent jumping back to previous workspace.
2020-05-06 Run hook upon input mode changeAdrián Medraño Calvo1-2/+8
* exwm-input.el (exwm-input-input-mode-change-hook): Add new hook for code to run upon input mode change. (exwm-input--grab-keyboard, exwm-input--release-keyboard): Run it.
2020-05-05 Merge branch 'medranocalvo/abort-recursive-edit-on-workspace-switch' into ↵Chris Feng1-6/+0
externals/exwm
2020-04-15 Fix window manager nameAdrián Medraño Calvo1-2/+3
* exwm.el (exwm--init-icccm-ewmh): Correct _NET_WM_NAME to the name of the window manager on the _NET_SUPPORTING_WM_CHECK.
2020-04-15 Stop aborting recursive edit upon switching workspaces.Adrián Medraño Calvo1-10/+0
* exwm-workspace.el (exwm-workspace-switch): Stop aborting recursive edit upon switching workspaces. Users should handle it just like in regular Emacs (possibly customizing `enable-recursive-minibuffers').
2020-04-15 Abort recursive edit before switching workspacesAdrián Medraño Calvo1-6/+10
* exwm-workspace.el (exwm-workspace-switch): Abort recursive edit before switching to other workspace. This avoids the usual `set-window-configuration' calls (e.g., by `eval-expression') to switch *us back to the previous workspace.
2020-03-29 Merge branch 'Curiosidad-Racional/patch-1' into externals/exwmChris Feng1-13/+13
2020-03-29 Add support for _NET_WM_STATE_HIDDENChris Feng2-8/+17
* exwm-layout.el (exwm-layout--set-ewmh-state): New function for setting _NET_WM_STATE (according to local state). * exwm.el (exwm--init-icccm-ewmh): Declare the support for this atom.
2020-03-29 Additional fix for winner-modeChris Feng1-3/+4
* exwm-input.el (exwm-input--on-KeyPress-line-mode): Check incomplete key presses (which generate no valid events) before running `pre-command-hook' and `post-command-hook'.
2020-03-21 Fixed fail update when current buffer differs from windowCuriosidad-Racional1-13/+13
Local variable `exwm--input-mode' from different buffer when current buffer don't contains #id window. `with-current-buffer' changes buffer after `cl-case' with local `exwm--input-mode'