mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
view/ssd: Refactor and fix visual indication for active windows
Partially fixes #494. Co-Authored-by: Consolatis
This commit is contained in:
parent
127a9c7be4
commit
b7c4ba825a
5 changed files with 37 additions and 53 deletions
|
|
@ -188,7 +188,7 @@ struct server {
|
|||
uint32_t resize_edges;
|
||||
|
||||
/* SSD state */
|
||||
struct view *ssd_focused_view;
|
||||
struct view *focused_view;
|
||||
struct ssd_hover_state ssd_hover_state;
|
||||
|
||||
/* Tree for all non-layer xdg/xwayland-shell surfaces */
|
||||
|
|
@ -408,7 +408,7 @@ struct xwayland_unmanaged *xwayland_unmanaged_create(struct server *server,
|
|||
void unmanaged_handle_map(struct wl_listener *listener, void *data);
|
||||
#endif
|
||||
|
||||
void view_set_activated(struct view *view, bool activated);
|
||||
void view_set_activated(struct view *view);
|
||||
void view_close(struct view *view);
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ struct ssd_hover_state {
|
|||
|
||||
/* Public SSD API */
|
||||
void ssd_create(struct view *view);
|
||||
void ssd_set_active(struct view *view);
|
||||
void ssd_set_active(struct view *view, bool active);
|
||||
void ssd_update_title(struct view *view);
|
||||
void ssd_update_geometry(struct view *view);
|
||||
void ssd_reload(struct view *view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue