rcxml: add raiseOnFocusDelay option

Add a new <focus><raiseOnFocusDelay> element accepting an integer in
milliseconds. The default of 0 preserves the current behavior (raise
immediately when raiseOnFocus is enabled).

The new field is carried as uint32_t raise_on_focus_delay_ms on
struct rcxml. This commit only adds the parser and default; the
actual delay logic follows in a subsequent commit.
This commit is contained in:
Jos Dehaes 2026-04-15 14:34:37 +02:00 committed by Johan Malm
parent 70e3173f99
commit 7b3f37725f
2 changed files with 5 additions and 0 deletions

View file

@ -90,6 +90,7 @@ struct rcxml {
bool focus_follow_mouse;
bool focus_follow_mouse_requires_movement;
bool raise_on_focus;
uint32_t raise_on_focus_delay_ms;
/* theme */
char *theme_name;