s/focused_view/active_view/

This commit is contained in:
Johan Malm 2023-12-19 17:45:11 +00:00 committed by Johan Malm
parent 447c67df62
commit 3a959cc74b
9 changed files with 28 additions and 24 deletions

View file

@ -245,10 +245,14 @@ struct server {
uint32_t resize_edges;
/*
* Currently focused view. Updated with each "focus change"
* event. This view is drawn with "active" SSD coloring.
* 'active_view' is generally the view with keyboard-focus, updated with
* each "focus change". This view is drawn with "active" SSD coloring.
*
* The exception is when a layer-shell client takes keyboard-focus in
* which case the currently active view stays active. This is important
* for foreign-toplevel protocol.
*/
struct view *focused_view;
struct view *active_view;
/*
* Most recently raised view. Used to avoid unnecessarily
* raising the same view over and over.