diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2023-10-17 10:33:24 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2023-10-17 10:33:24 +0200 |
commit | 9aa119e6765568103f5a41b401b305dff509e13a (patch) | |
tree | fdedde63346f64238c328cd814d8dfd6b372cc2f /capture_wlr.c | |
parent | e9f288fd0912cde18cddd78eae030e0e877c228c (diff) |
Allow disabling uhid interop from the commandline
Diffstat (limited to 'capture_wlr.c')
-rw-r--r-- | capture_wlr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/capture_wlr.c b/capture_wlr.c index 0bd8f17..f8c7381 100644 --- a/capture_wlr.c +++ b/capture_wlr.c @@ -79,8 +79,7 @@ static void OnWlRegistryGlobalRemove(void* data, struct wl_registry* registry, } static bool InitWaylandGlobals(struct CaptureContextWlr* capture_context) { - capture_context->wl_display = - wl_display_connect(/*NULL*/ "/run/user/1000/wayland-1"); + capture_context->wl_display = wl_display_connect(NULL); if (!capture_context->wl_display) { LOG("Failed to connect wl_display (%s)", strerror(errno)); return false; |