mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
s/focused_view/active_view/
This commit is contained in:
parent
447c67df62
commit
3a959cc74b
9 changed files with 28 additions and 24 deletions
|
|
@ -1071,7 +1071,7 @@ decorate(struct view *view)
|
|||
{
|
||||
if (!view->ssd) {
|
||||
view->ssd = ssd_create(view,
|
||||
view == view->server->focused_view);
|
||||
view == view->server->active_view);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1797,8 +1797,8 @@ view_destroy(struct view *view)
|
|||
regions_hide_overlay(&server->seat);
|
||||
}
|
||||
|
||||
if (server->focused_view == view) {
|
||||
server->focused_view = NULL;
|
||||
if (server->active_view == view) {
|
||||
server->active_view = NULL;
|
||||
need_cursor_update = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue