Remote control: Allow modifying desktop panels and showing/hiding OS Windows using the kitten @ resize-os-window command

Also move the visibility toggle debounce into C code with a per OS
Window timer.

Fixes #8550
This commit is contained in:
Kovid Goyal
2025-04-22 13:34:09 +05:30
parent c1a9873530
commit fc5fc7c9c4
8 changed files with 108 additions and 50 deletions

View File

@@ -313,6 +313,11 @@ typedef struct {
id_type last_focused_counter;
CloseRequest close_request;
bool is_layer_shell;
struct {
monotonic_t last_change_at;
bool set_visible;
id_type timer_id;
} debounce_visibility_changes;
} OSWindow;