mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Remove debug prints
This commit is contained in:
@@ -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<xcb_leave_notify_event_t*>(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);
|
||||
|
||||
Reference in New Issue
Block a user