mirror of
https://github.com/labwc/labwc.git
synced 2026-05-03 06:47:22 -04:00
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:
parent
70e3173f99
commit
7b3f37725f
2 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue