mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
s/focused_view/active_view/
This commit is contained in:
parent
447c67df62
commit
3a959cc74b
9 changed files with 28 additions and 24 deletions
|
|
@ -310,7 +310,7 @@ workspaces_switch_to(struct workspace *target, bool update_focus)
|
|||
* Only refocus if the focus is not already on an always-on-top view.
|
||||
*/
|
||||
if (update_focus) {
|
||||
struct view *view = server->focused_view;
|
||||
struct view *view = server->active_view;
|
||||
if (!view || !view_is_always_on_top(view)) {
|
||||
desktop_focus_topmost_view(server);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue