mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
view: Add view_move_to_front/back().
This avoids calling view->impl functions from cursor.c and desktop.c. v2: Add an explicit recursion guard in cursor_update_focus().
This commit is contained in:
parent
12f3314595
commit
d7dd366bad
11 changed files with 52 additions and 43 deletions
|
|
@ -367,8 +367,6 @@ void foreign_toplevel_update_outputs(struct view *view);
|
|||
* cannot assume this means that the window actually has keyboard
|
||||
* or pointer focus, in this compositor are they called together.
|
||||
*/
|
||||
void desktop_move_to_front(struct view *view);
|
||||
void desktop_move_to_back(struct view *view);
|
||||
void desktop_focus_and_activate_view(struct seat *seat, struct view *view);
|
||||
void desktop_arrange_all_views(struct server *server);
|
||||
void desktop_focus_output(struct output *output);
|
||||
|
|
|
|||
|
|
@ -184,6 +184,10 @@ void view_snap_to_edge(struct view *view, const char *direction,
|
|||
bool store_natural_geometry);
|
||||
void view_snap_to_region(struct view *view, struct region *region,
|
||||
bool store_natural_geometry);
|
||||
|
||||
void view_move_to_front(struct view *view);
|
||||
void view_move_to_back(struct view *view);
|
||||
|
||||
const char *view_get_string_prop(struct view *view, const char *prop);
|
||||
void view_update_title(struct view *view);
|
||||
void view_update_app_id(struct view *view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue