diff --git a/client.cpp b/client.cpp --- a/client.cpp +++ b/client.cpp @@ -48,7 +48,6 @@ #include #include #include -#include // XLib #include #include @@ -1399,7 +1398,6 @@ { if (info->supportsProtocol(NET::ContextHelpProtocol)) { sendClientMessage(window(), atoms->wm_protocols, atoms->net_wm_context_help); - QWhatsThis::enterWhatsThisMode(); // SELI TODO: ? } } diff --git a/events.cpp b/events.cpp --- a/events.cpp +++ b/events.cpp @@ -51,7 +51,6 @@ #include #include #include -#include #include #include @@ -385,25 +384,10 @@ } case XCB_ENTER_NOTIFY: { - if (QWhatsThis::inWhatsThisMode()) { - QWidget* w = QWidget::find(reinterpret_cast(e)->event); - if (w) - QWhatsThis::leaveWhatsThisMode(); - } if (ScreenEdges::self()->isEntered(reinterpret_cast(e))) return true; break; } - case XCB_LEAVE_NOTIFY: { - if (!QWhatsThis::inWhatsThisMode()) - break; - // TODO is this cliente ever found, given that client events are searched above? - const auto *event = reinterpret_cast(e); - Client* c = findClient(Predicate::FrameIdMatch, event->event); - if (c && event->detail != XCB_NOTIFY_DETAIL_INFERIOR) - QWhatsThis::leaveWhatsThisMode(); - break; - } case XCB_CONFIGURE_REQUEST: { const auto *event = reinterpret_cast(e); if (event->parent == rootWindow()) {