From 27370ab54b5b097e48b6ccfa0396c9afd458cf0d Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 30 Jan 2021 23:11:25 +0100 Subject: [PATCH] Remove debug prints --- src/wine-host/editor.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/wine-host/editor.cpp b/src/wine-host/editor.cpp index 6b7e68f1..8c604439 100644 --- a/src/wine-host/editor.cpp +++ b/src/wine-host/editor.cpp @@ -336,7 +336,6 @@ void Editor::handle_x11_events() const { // check is sometimes necessary for using multiple editor windows // within a single plugin group. case XCB_CONFIGURE_NOTIFY: - std::cerr << "XCB_CONFIGURE_NOTIFY" << std::endl; if (!use_xembed) { fix_local_coordinates(); } @@ -345,7 +344,6 @@ void Editor::handle_x11_events() const { // most hosts will only show the window after the plugin has // embedded itself into it. case XCB_VISIBILITY_NOTIFY: - std::cerr << "XCB_VISIBILITY_NOTIFY" << std::endl; if (use_xembed) { do_xembed(); } @@ -361,12 +359,6 @@ void Editor::handle_x11_events() const { // `EnterNotify'. case XCB_ENTER_NOTIFY: case XCB_FOCUS_IN: - if (event_type == XCB_ENTER_NOTIFY) { - std::cerr << "XCB_ENTER_NOTIFY" << std::endl; - } else { - std::cerr << "XCB_FOCUS_IN" << std::endl; - } - if (!use_xembed) { fix_local_coordinates(); } @@ -386,7 +378,6 @@ void Editor::handle_x11_events() const { // to mess with keyboard focus when hovering over the window while // for instance a dialog is open. case XCB_LEAVE_NOTIFY: { - std::cerr << "XCB_LEAVE_NOTIFY" << std::endl; const auto event = reinterpret_cast(generic_event); @@ -404,10 +395,6 @@ void Editor::handle_x11_events() const { set_input_focus(false); } } break; - default: { - std::cerr << "X11 event " << event_type << std::endl; - break; - } } free(generic_event);