mirror of
https://github.com/labwc/labwc.git
synced 2025-11-10 13:30:00 -05:00
keyboard: allow applying keyboard layout per window
Fixes #1076 It can be enabled with a config like ~/.config/labwc/rc.xml: <keyboard layoutScope="window"> ~/.config/labwc/environment: XKB_DEFAULT_LAYOUT=de,us XKB_DEFAULT_OPTIONS=grp:alt_shift_toggle,grp_led:scroll With a configuration like this each window should now remember the active keyboard layout when switching between windows. By default, the keyboard layout keeps being a global state.
This commit is contained in:
parent
f1c2664ad1
commit
984aeb0b0b
9 changed files with 66 additions and 3 deletions
|
|
@ -63,6 +63,7 @@ struct rcxml {
|
|||
int repeat_rate;
|
||||
int repeat_delay;
|
||||
bool kb_numlock_enable;
|
||||
bool kb_layout_per_window;
|
||||
struct wl_list keybinds; /* struct keybind.link */
|
||||
|
||||
/* mouse */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue