wezterm
wezterm copied to clipboard
Strange behavior with Alt + Tab and window_decorations = "NONE"
What Operating System(s) are you seeing this problem on?
Linux Wayland
Which Wayland compositor or X11 Window manager(s) are you using?
Mutter
WezTerm version
20220808-084502-d5755f3e
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
When i maximize the wezterm window and switch between windows with Alt + Tab the wezterm window sticks to the top left of the screen, also when only wezterm is open and the window is maximized and i press the windows key on my keyboard to see all windows in GNOME the wezterm window takes up too much space. All this only happens when window_decorations = "NONE"
.
To Reproduce
- Open wezterm and maximize it.
- Open another program.
- Switch to the wezterm window with Alt + Tab
Configuration
local wezterm = require("wezterm")
return {
font = wezterm.font("Iosevka Fixed", { weight = "Regular", italic = false, bold = false }),
font_rules = {
{
intensity = "Bold",
font = wezterm.font("Iosevka Fixed", { weight = "Regular" }),
},
},
font_size = 12.0,
enable_tab_bar = false,
window_decorations = "NONE",
}
Expected Behavior
switch between windows with Alt + Tab and the wezterm window does not change its size and position
Logs
No response
Anything else?
No response
I also have this bug with Wezterm and was having the exact same issue with Kitty under the same circumstances. This commit fixed the issue in Kitty. So I thought I'd leave this here just in case it turns out to be the same interaction with Wayland that's causing the issue for Wezterm.
Apologies in advance if it turns out not to be useful.