mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
Removed excessive debug logging
This commit is contained in:
parent
55854565dc
commit
fa6b3b290c
1 changed files with 0 additions and 3 deletions
|
@ -35,7 +35,6 @@ static int logind_take_device(struct wlr_session *restrict base,
|
||||||
const char *restrict path) {
|
const char *restrict path) {
|
||||||
struct logind_session *session = wl_container_of(base, session, base);
|
struct logind_session *session = wl_container_of(base, session, base);
|
||||||
|
|
||||||
wlr_log(L_DEBUG, "Taking '%s'", path);
|
|
||||||
int ret;
|
int ret;
|
||||||
int fd = -1;
|
int fd = -1;
|
||||||
sd_bus_message *msg = NULL;
|
sd_bus_message *msg = NULL;
|
||||||
|
@ -209,7 +208,6 @@ static int pause_device(sd_bus_message *msg, void *userdata, sd_bus_error *ret_e
|
||||||
strerror(-ret));
|
strerror(-ret));
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
wlr_log(L_INFO, "PauseDevice signal received: (%lu) %s", makedev(major, minor), type);
|
|
||||||
|
|
||||||
if (major == DRM_MAJOR) {
|
if (major == DRM_MAJOR) {
|
||||||
session->base.active = false;
|
session->base.active = false;
|
||||||
|
@ -242,7 +240,6 @@ static int resume_device(sd_bus_message *msg, void *userdata, sd_bus_error *ret_
|
||||||
strerror(-ret));
|
strerror(-ret));
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
wlr_log(L_INFO, "ResumeDevice signal received (%lu)", makedev(major, minor));
|
|
||||||
|
|
||||||
if (major == DRM_MAJOR) {
|
if (major == DRM_MAJOR) {
|
||||||
dup2(fd, session->drm_fd);
|
dup2(fd, session->drm_fd);
|
||||||
|
|
Loading…
Reference in a new issue