Commit Graph

580 Commits (15167528af359015d09a42125863bdea92b6001d)

Author SHA1 Message Date
Andri Yngvason 07f42ecb36 logging: Add warning log level 2020-12-27 19:29:01 +00:00
Andri Yngvason 0178c13627 keyboard: Always use layout index 0
Layout switching isn't supported anyhow. Better not to confuse things.
2020-12-27 19:26:54 +00:00
Andri Yngvason c1a5de76ea Document how to enable the compose key 2020-12-26 22:29:16 +00:00
Andri Yngvason 572e3138e3 Document xbk config options 2020-12-26 22:06:31 +00:00
Andri Yngvason b9142a94ae Add xkb config options 2020-12-26 21:32:06 +00:00
Andri Yngvason d0aa51aa6e keyboard: Pass struct xkb_rule_names to keyboard_init 2020-12-26 21:07:49 +00:00
Andri Yngvason 482ebaf168 keyboard: Match shift levels to keycodes when needed 2020-12-26 17:19:34 +00:00
Andri Yngvason 2957f6f3a2 keyboard: Split keyboard_feed_code() into more functions 2020-12-26 17:19:34 +00:00
Arnavion a9b2d93568 Don't free the front buffer if screencopy fails
It is possible for `screencopy_failed` to be called without
the front buffer ever being set, such as when the output is dpms-off.

Fixes #65
2020-12-19 12:53:33 +00:00
Andri Yngvason 5ae312c1b4 meson: Depend on neatvnc >=v0.4.0
This is required for qemu extended key events
2020-12-06 14:25:42 +00:00
Andri Yngvason d757e6db88 Add handler for raw key events 2020-11-29 20:50:39 +00:00
Andri Yngvason d978d94041 keyboard: Extract function 'keyboard_feed_code()' 2020-11-29 18:58:21 +00:00
Andri Yngvason 22562183db .gitignore: Add .vimrc 2020-11-15 12:49:40 +00:00
Andri Yngvason 7f5fbbf613 README: Add PAM to runtime dependency list 2020-11-03 23:35:53 +00:00
Andri Yngvason 9d0cc287a8 README: Trim down installation instructions 2020-11-03 23:33:23 +00:00
Andri Yngvason 457ed9c0b5 CONTRIBUTING: Fix markdown for links 2020-11-03 23:27:14 +00:00
Andri Yngvason a19cc2fa16 Add contributing guide 2020-11-03 23:24:51 +00:00
Aisha Tammy 4fc9493e2f make systemtap optional 2020-11-03 22:31:25 +00:00
NickSica 6a73f293fc Add PAM authentication 2020-11-03 22:18:46 +00:00
Andri Yngvason fa4dc0f169 Limit usage text to 80 characters per line 2020-10-17 18:16:12 +00:00
Andri Yngvason d923f212d0 man: Update description for --keyboard option 2020-10-17 18:13:46 +00:00
Flakebi 98d703bfa8 Fix de-neo layout
- Add possibility to specify layout variant with -k <layout>-<variant>
- Add ISO_Level5_Shift and ISO_Level5_Lock to modifier keys
2020-10-17 18:06:12 +00:00
Antonin Décimo 41f30bf7ca Fix use-after-free in error path 2020-10-01 09:57:14 +00:00
Antonin Décimo a9d9547930 Remove unused ALIGN_UP macro 2020-10-01 09:57:14 +00:00
Andri Yngvason 7624d3d22f Fix man page path 2020-09-28 20:37:30 +00:00
Andri Yngvason 18ab7bc60e Release v3.0.0 2020-09-28 19:54:48 +00:00
Andri Yngvason d235f9394b FAQ: Remove outdated Q 2020-09-28 19:35:40 +00:00
Andri Yngvason 15c6768f4f man-page: Fix wording 2020-09-28 19:34:52 +00:00
Andri Yngvason b93d55d068 Generate and install a man page 2020-09-26 14:43:46 +00:00
Andri Yngvason c20474604e Write a man page 2020-09-26 14:24:10 +00:00
Andri Yngvason 4a098e27f9 Don't init data_control if it's not supported by compositor 2020-09-22 20:08:10 +00:00
Andri Yngvason 30295bb715 data-control: Destroy data device on exit 2020-09-22 20:01:11 +00:00
Andri Yngvason 5c30d7752c data-control: Clean up whole receive context in aml_free_fn
This takes care of the case where wayvnc exits before the whole offer
has been processed.
2020-09-22 19:53:05 +00:00
Andri Yngvason 9a2f761a02 data-control: Don't free data-control-manager twice 2020-09-22 19:37:35 +00:00
Andri Yngvason 630e2e67bc data-control: Make offer handling asynchronous 2020-09-22 03:12:46 -06:00
Scott Moreau 3ee9aac35e Add basic clipboard support
Uses wlr-data-control-unstable-v1 protocol to interface with the clipboard
making copy/paste of text to/from host clipboard possible.
2020-09-22 03:11:03 -06:00
Andri Yngvason 8038e65597 Clean up aml on nvnc init failure 2020-08-23 13:25:45 +00:00
Andri Yngvason dcf3b5869c Clean up config on exit 2020-08-23 13:18:47 +00:00
Andri Yngvason 7ef8d0b0ae Exit if enabling auth fails 2020-08-23 13:10:59 +00:00
Jony e67e4b5985 add Void Linux install command to README.md 2020-08-22 09:33:50 +00:00
Alexander Graul a6d738e087 Add openSUSE Tumbleweed installation instruction 2020-08-19 20:14:00 +00:00
Andri Yngvason d8f94d2613 README: Use "yay" in archlinux installation instructions 2020-07-31 18:23:25 +00:00
Andri Yngvason 69d36dd7ef buffer: Fix buffer attribute comparison 2020-07-28 17:32:14 +00:00
Jan Beich 72dd8a159c shm: guard fallback on FreeBSD < 13 as well
../src/shm.c:35:13: warning: unused function 'randname' [-Wunused-function]
static void randname(char *buf)
            ^
2020-07-27 20:04:42 +00:00
Jan Beich 6916780389 buffer: guard gbm.h after 3742dc7144
../src/buffer.c:25:10: fatal error: 'gbm.h' file not found
 #include <gbm.h>
          ^~~~~~~
2020-07-27 19:51:59 +00:00
Andri Yngvason 800b0d6cb7 meson: Update project version 2020-07-27 19:10:19 +00:00
Andri Yngvason 3742dc7144 Add build option for enabling screencopy-dmabuf 2020-07-26 15:12:14 +00:00
Andri Yngvason ca069ea738 buffer: Add function to get available buffer types 2020-07-26 14:26:58 +00:00
Andri Yngvason f8344fda16 main: Suppress unused variable warnings in release build 2020-07-26 13:47:40 +00:00
Andri Yngvason ef6756d0f4 keyboard: suppress unused variable warnings in release build 2020-07-26 13:47:20 +00:00