mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 15:04:36 +03:00
79165617b1
WindowState is a bitfield that can represent maximized, full screen and hidden window states. WindowState is passed along with resize events, improving on the prior basic is_full_screen boolean by representing the other states. Notably, WindowState::MAXIMIZED is used to represent a state where the window's size is constrained by some window environment function; it could be due to the window being maximized in either or both the vertical or horizontal directions, or by the window being in a tiled state on any edge. When the window is MAXIMIZED, wezterm will behave as though `adjust_window_size_when_changing_font_size = false` because it knows that it cannot adjust the window size in that state. This potentially helps with #695, depending on whether the window manager propagates this state information to wezterm. Gnome/mutter does a good job at this with both X11 and Wayland, but I couldn't get sway to report these states and I don't know of any other tiling wm that I can easily install and use on fedora, so there's a question mark around that. |
||
---|---|---|
.. | ||
async.rs | ||
shader.wgsl | ||
wgpu.rs |