mirror of
https://github.com/labwc/labwc.git
synced 2026-02-20 01:40:22 -05:00
view: Add optional output parameter to view_center()
Allows centering the view on a specific output without the workaround of overwriting view->current.x/y.
This commit is contained in:
parent
df7c47b8d7
commit
5062c5bea3
6 changed files with 22 additions and 30 deletions
|
|
@ -420,7 +420,7 @@ bool output_is_usable(struct output *output);
|
|||
void output_update_usable_area(struct output *output);
|
||||
void output_update_all_usable_areas(struct server *server, bool layout_changed);
|
||||
struct wlr_box output_usable_area_in_layout_coords(struct output *output);
|
||||
struct wlr_box output_usable_area_from_cursor_coords(struct server *server);
|
||||
struct output *output_from_cursor_coords(struct server *server);
|
||||
void handle_output_power_manager_set_mode(struct wl_listener *listener,
|
||||
void *data);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue