summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-04-14 10:44:30 -0400
committerLibravatar GitHub <noreply@github.com>2017-04-14 10:44:30 -0400
commit4b3e533a5946c0cb8f3f80421918ff809e4059a3 (patch)
tree28d91462686a2d97b5f83ea0c80ce5873ab909af
parentMerge pull request #1147 from SirCmpwn/nvidia-support (diff)
parentFix style in sway-bar(5) manpage (diff)
downloadsway-4b3e533a5946c0cb8f3f80421918ff809e4059a3.tar.gz
sway-4b3e533a5946c0cb8f3f80421918ff809e4059a3.tar.zst
sway-4b3e533a5946c0cb8f3f80421918ff809e4059a3.zip
Merge pull request #1171 from JerziKaminsky/misc_fixes
Misc fixes
-rw-r--r--README.md1
-rw-r--r--sway/ipc-json.c4
-rw-r--r--sway/sway-bar.5.txt8
3 files changed, 8 insertions, 5 deletions
diff --git a/README.md b/README.md
index 616da665..dc39bf91 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,7 @@ Install dependencies:
44* [wlc](https://github.com/Cloudef/wlc) 44* [wlc](https://github.com/Cloudef/wlc)
45* wayland 45* wayland
46* xwayland 46* xwayland
47* libinput >= 1.6.0
47* libcap 48* libcap
48* asciidoc 49* asciidoc
49* pcre 50* pcre
diff --git a/sway/ipc-json.c b/sway/ipc-json.c
index fba489d7..4c4484e8 100644
--- a/sway/ipc-json.c
+++ b/sway/ipc-json.c
@@ -284,7 +284,9 @@ json_object *ipc_json_describe_input(struct libinput_device *device) {
284 { LIBINPUT_DEVICE_CAP_TABLET_TOOL, "tablet_tool", NULL }, 284 { LIBINPUT_DEVICE_CAP_TABLET_TOOL, "tablet_tool", NULL },
285 { LIBINPUT_DEVICE_CAP_TABLET_PAD, "tablet_pad", NULL }, 285 { LIBINPUT_DEVICE_CAP_TABLET_PAD, "tablet_pad", NULL },
286 { LIBINPUT_DEVICE_CAP_GESTURE, "gesture", NULL }, 286 { LIBINPUT_DEVICE_CAP_GESTURE, "gesture", NULL },
287 { LIBINPUT_DEVICE_CAP_SWITCH, "switch", NULL } 287#ifdef LIBINPUT_DEVICE_CAP_SWITCH // libinput 1.7.0+
288 { LIBINPUT_DEVICE_CAP_SWITCH, "switch", NULL },
289#endif
288 }; 290 };
289 291
290 json_object *_caps = json_object_new_array(); 292 json_object *_caps = json_object_new_array();
diff --git a/sway/sway-bar.5.txt b/sway/sway-bar.5.txt
index a404acd0..5a52e7db 100644
--- a/sway/sway-bar.5.txt
+++ b/sway/sway-bar.5.txt
@@ -50,17 +50,17 @@ Commands
50 50
51**wrap_scroll** <yes|no>:: 51**wrap_scroll** <yes|no>::
52 Enables or disables wrapping when scrolling through workspaces with the 52 Enables or disables wrapping when scrolling through workspaces with the
53 scroll wheel. Default is no. 53 scroll wheel. Default is _no_.
54 54
55**workspace_buttons** <yes|no>:: 55**workspace_buttons** <yes|no>::
56 Enables or disables workspace buttons on the bar. Default is yes. 56 Enables or disables workspace buttons on the bar. Default is _yes_.
57 57
58**strip_workspace_numbers** <yes|no>:: 58**strip_workspace_numbers** <yes|no>::
59 If set to _yes_, then workspace numbers will be omitted from the workspace 59 If set to _yes_, then workspace numbers will be omitted from the workspace
60 button and only the custom name will be shown. 60 button and only the custom name will be shown. Default is _no_.
61 61
62**binding_mode_indicator** <yes|no>:: 62**binding_mode_indicator** <yes|no>::
63 Enable or disable binding mode indicator. It's enabled by default. 63 Enable or disable binding mode indicator. Default is _yes_.
64 64
65**height** <height>:: 65**height** <height>::
66 Sets the height of the bar. Default height will match the font size. 66 Sets the height of the bar. Default height will match the font size.