mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 16:09:47 +01:00
wayland: log compositor name in startup
This commit is contained in:
parent
203fc0f4e4
commit
b82fdaff91
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ bool Aquamarine::CWaylandBackend::start() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto XDGCURRENTDESKTOP = getenv("XDG_CURRENT_DESKTOP");
|
||||||
|
backend->log(AQ_LOG_DEBUG, std::format("Connected to a wayland compositor: {}", (XDGCURRENTDESKTOP ? XDGCURRENTDESKTOP : "unknown (XDG_CURRENT_DEKSTOP unset?)")));
|
||||||
|
|
||||||
waylandState.registry = makeShared<CCWlRegistry>((wl_proxy*)wl_display_get_registry(waylandState.display));
|
waylandState.registry = makeShared<CCWlRegistry>((wl_proxy*)wl_display_get_registry(waylandState.display));
|
||||||
|
|
||||||
backend->log(AQ_LOG_DEBUG, std::format("Got registry at 0x{:x}", (uintptr_t)waylandState.registry->resource()));
|
backend->log(AQ_LOG_DEBUG, std::format("Got registry at 0x{:x}", (uintptr_t)waylandState.registry->resource()));
|
||||||
|
|
Loading…
Reference in a new issue