Skip to content

Commit abd8b19

Browse files
delete logs in processKeys
1 parent 8d92a32 commit abd8b19

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/wayland/wlr_compositor.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -888,16 +888,6 @@ process_key_sym(WlrServer* server,
888888
}
889889
}
890890

891-
if constexpr (kWlrootsDebugLogs) {
892-
FILE* f = std::fopen("/tmp/matrix-wlroots-wm.log", "a");
893-
if (f) {
894-
std::fprintf(f, "key sym=%u pressed=%d\n", sym, pressed ? 1 : 0);
895-
std::fflush(f);
896-
std::fclose(f);
897-
}
898-
wlr_log(WLR_DEBUG, "key sym=%u pressed=%d", sym, pressed ? 1 : 0);
899-
}
900-
901891
if (server->seat && keyboard && time_msec != 0) {
902892
bool duplicate = false;
903893
if (keycode != 0) {

0 commit comments

Comments
 (0)