History

options: flag geometry/autofit options with force_update

Same reasoning as window-scale. This still requires that the windowing backend correctly reacts to the notification.

Dudemanguy committed 2 years ago

Commit dc9da5d1 parent bd1bcc11 file · +4 −4Browse files

Unified · Split

options/options.c+4−4
@@ -123,10 +123,10 @@ static const m_option_t mp_vo_opt_list[] = { · 122 unmodified lines
123 {"border", OPT_BOOL(border)},123 {"border", OPT_BOOL(border)},
124 {"title-bar", OPT_BOOL(title_bar)},124 {"title-bar", OPT_BOOL(title_bar)},
125 {"on-all-workspaces", OPT_BOOL(all_workspaces)},125 {"on-all-workspaces", OPT_BOOL(all_workspaces)},
126 {"geometry", OPT_GEOMETRY(geometry)},126 {"geometry", OPT_GEOMETRY(geometry), .force_update = true},
127 {"autofit", OPT_SIZE_BOX(autofit)},127 {"autofit", OPT_SIZE_BOX(autofit), .force_update = true},
128 {"autofit-larger", OPT_SIZE_BOX(autofit_larger)},128 {"autofit-larger", OPT_SIZE_BOX(autofit_larger), .force_update = true},
129 {"autofit-smaller", OPT_SIZE_BOX(autofit_smaller)},129 {"autofit-smaller", OPT_SIZE_BOX(autofit_smaller), .force_update = true},
130 {"auto-window-resize", OPT_BOOL(auto_window_resize)},130 {"auto-window-resize", OPT_BOOL(auto_window_resize)},
131 {"window-scale", OPT_DOUBLE(window_scale), M_RANGE(0.001, 100), .force_update = true},131 {"window-scale", OPT_DOUBLE(window_scale), M_RANGE(0.001, 100), .force_update = true},
132 {"window-minimized", OPT_BOOL(window_minimized)},132 {"window-minimized", OPT_BOOL(window_minimized)},

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