x11: set_inner_size
after set_fullscreen(None)
from Fullscreen::Exlusive
is ignored
#1552
Labels
B - bug
Dang, that shouldn't have happened
C - needs investigation
Issue must be confirmed and researched
DS - x11
Situation: Window has been set to
Some(Fullscreen::Exclusive)
with a resolution, that differs from default one (monitor_handle.video_modes().nth(x)
). Then, fullscreen is set toNone
, and window is resized withset_inner_size
.Expected: Window is in windowed mode and resized as expected.
Actual behavior:
Window mode is set to windowed, but window size is set to
default_video_mode.size() * scale_factor
* scale_factor
As if
set_inner_size
was never calledgist (Press F to enter fullscreen, W to try to enter windowed, ESC to exit)
Note: Everything is working as expected, if window has been set to a default video mode (
monitor_handle.video_modes().next()
)The text was updated successfully, but these errors were encountered: