From 47984509443e9be8776e96b9b21e81d5305d68a6 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Tue, 16 Feb 2021 13:13:47 -0600 Subject: [PATCH 1/3] Revert "Revert "document that we currently follow wlroots-git"" This reverts commit ed8e80d9613599770ed2b11a3bc1d0057c075510. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f504672..2777613 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`. +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`. From e8192b4fc920cba6c272a48fa86ca51bfd73f101 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Tue, 16 Feb 2021 13:13:48 -0600 Subject: [PATCH 2/3] Revert "Revert "fix undeclared WLR_KEY_PRESSED"" This reverts commit a11f2bbc7a4068321767bd7e8c7eee1aee278bc9. --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 4098f86..6803594 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; From c1eb2b49cdc7d85fb52c877ce47cd2a677cf3d5c Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Tue, 16 Feb 2021 13:13:49 -0600 Subject: [PATCH 3/3] Revert "Revert "remove EGL parameter from backend_autocreate"" This reverts commit 8ed88822ca4448b06c2d7e6155d8022152b78017. --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 6803594..72f1046 100644 --- a/dwl.c +++ b/dwl.c @@ -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.