diff options
| author | Alec LeFors <alefors@hey.com> | 2022-08-27 17:24:36 -0400 |
|---|---|---|
| committer | Alec LeFors <alefors@hey.com> | 2022-08-27 17:24:36 -0400 |
| commit | 1d43bb70d47f40651aa7f8c7a95f59ecd9918b24 (patch) | |
| tree | 686483878be4d5732928927c07b75853a21a4769 /src/events/Misc.cpp | |
| parent | 59d7cfcd02a7546a54ff3076cdd7d5de821a81c8 (diff) | |
fix indents, change crit log to info
Diffstat (limited to 'src/events/Misc.cpp')
| -rw-r--r-- | src/events/Misc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/events/Misc.cpp b/src/events/Misc.cpp index 4e2f532c..f952bec2 100644 --- a/src/events/Misc.cpp +++ b/src/events/Misc.cpp @@ -27,11 +27,11 @@ void Events::listener_outputMgrTest(wl_listener* listener, void* data) { void Events::listener_leaseRequest(wl_listener* listener, void* data) { const auto REQUEST = (wlr_drm_lease_request_v1*)data; - struct wlr_drm_lease_v1* lease = wlr_drm_lease_request_v1_grant(REQUEST); - if (!lease) { + struct wlr_drm_lease_v1* lease = wlr_drm_lease_request_v1_grant(REQUEST); + if (!lease) { Debug::log(ERR, "Failed to grant lease request!"); - wlr_drm_lease_request_v1_reject(REQUEST); - } + wlr_drm_lease_request_v1_reject(REQUEST); + } } void Events::listener_requestSetPrimarySel(wl_listener* listener, void* data) { |
