mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -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
|
|
@ -439,12 +439,12 @@ actions_run(struct view *activator, struct server *server,
|
|||
break;
|
||||
case ACTION_TYPE_RAISE:
|
||||
if (view) {
|
||||
desktop_move_to_front(view);
|
||||
view_move_to_front(view);
|
||||
}
|
||||
break;
|
||||
case ACTION_TYPE_LOWER:
|
||||
if (view) {
|
||||
desktop_move_to_back(view);
|
||||
view_move_to_back(view);
|
||||
}
|
||||
break;
|
||||
case ACTION_TYPE_RESIZE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue