Skip to content

Commit

Permalink
Merge pull request #173 from 0xCatPKG/wayland-backend
Browse files Browse the repository at this point in the history
- Remove a warning on Wayland init failure, silently fallback to other GUI backend
  • Loading branch information
LekKit authored Feb 4, 2025
2 parents ef10bfc + 327bce7 commit eaa3d0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/devices/wayland_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,6 @@ static bool wayland_init(void)
rvvm_info("Initializing wayland backend");
display = wl_display_connect(NULL);
if (!display) {
rvvm_warn("Failed to connect to Wayland display");
return false;
}

Expand Down Expand Up @@ -1330,7 +1329,6 @@ bool wayland_window_init(gui_window_t *win)
static bool libwayland_avail = false;
DO_ONCE(libwayland_avail = wayland_init());
if (!libwayland_avail) {
rvvm_warn("Failed to load libwayland-client!");
return false;
}

Expand Down

0 comments on commit eaa3d0e

Please # to comment.