History

win32: always fit to the screen on initial positioning

VO_WIN_FORCE_POS is set even if the position is not provided by the user, so we have no choice but to always fit. We should do this regardless, and if any issues occur in multi-monitor configurations, they should be addressed separately.

Kacper Michajłow committed 2 years ago

Commit fa77ad41 parent 3b95c001 file · +1 −1Browse files

Unified · Split

video/out/w32_common.c+1−1
@@ -1950,7 +1950,7 @@ static void window_reconfig(struct vo_w32_state *w32, bool force) · 1949 unmodified lines
19501950 w32->prev_windowrc = w32->windowrc;
19511951 w32->window_bounds_initialized = true;
19521952 w32->win_force_pos = geo.flags & VO_WIN_FORCE_POS;
1953− w32->fit_on_screen = !w32->win_force_pos;
1953+ w32->fit_on_screen = true;
19541954 goto finish;
19551955 }
19561956

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t