mirror of
https://github.com/labwc/labwc.git
synced 2026-03-31 07:11:19 -04:00
labnag: add --keyboard-focus option
The new `--keyboard-focus [none|on-demand|exclusive]` option (default: `none`) allows to some keyboard controls in labnag: Right-arrow or Tab: move the button selection to the right Left-arrow or Shift-Tab: move the button selection to the left Enter: press the selected button Escape: close labnag The selected button is highlighted with the inner 1px border. Maybe we can instead use different colors for the selected button, but I prefer the inner border for now because it doesn't require us to add new color options or make them inherit labwc's theme.
This commit is contained in:
parent
03c70e8a5e
commit
ef73431367
3 changed files with 237 additions and 4 deletions
|
|
@ -49,6 +49,7 @@ executable(
|
|||
wlroots,
|
||||
server_protos,
|
||||
epoll_dep,
|
||||
xkbcommon,
|
||||
],
|
||||
include_directories: [labwc_inc],
|
||||
install: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue