aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--dwl.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 7fe130d..260280a 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ Feature *non-goals* include:
## Building dwl
-dwl has only two dependencies: wlroots 0.12 and wayland-protocols. Simply install these and run `make`. If you wish to build against a Git version of wlroots, check out the [wlroots-next branch](https://github.com/djpohly/dwl/tree/wlroots-next).
+dwl has only two dependencies: wlroots-git and wayland-protocols. Simply install these and run `make`.
To enable XWayland, you should also install xorg-xwayland and uncomment its flag in `config.mk`.
diff --git a/dwl.c b/dwl.c
index 4098f86..72f1046 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1284,7 +1284,7 @@ keypress(struct wl_listener *listener, void *data)
wlr_idle_notify_activity(idle, seat);
/* On _press_, attempt to process a compositor keybinding. */
- if (event->state == WLR_KEY_PRESSED)
+ if (event->state == WL_KEYBOARD_KEY_STATE_PRESSED)
for (i = 0; i < nsyms; i++)
handled = keybinding(mods, syms[i]) || handled;
@@ -1995,7 +1995,7 @@ setup(void)
* backend uses the renderer, for example, to fall back to software cursors
* if the backend does not support hardware cursors (some older GPUs
* don't). */
- if (!(backend = wlr_backend_autocreate(dpy, NULL)))
+ if (!(backend = wlr_backend_autocreate(dpy)))
BARF("couldn't create backend");
/* If we don't provide a renderer, autocreate makes a GLES2 renderer for us.