diff --git a/killwindow.cpp b/killwindow.cpp
index 3ebbd6ce0f..11eaf6f5e0 100644
--- a/killwindow.cpp
+++ b/killwindow.cpp
@@ -107,15 +107,6 @@ bool KillWindow::isResponsibleForEvent(int eventType) const
}
}
-void KillWindow::processEvent(XEvent *event)
-{
- if (event->type == XCB_BUTTON_RELEASE) {
- handleButtonRelease(event->xbutton.button, event->xbutton.subwindow);
- } else if (event->type == XCB_KEY_PRESS) {
- handleKeyPress(event->xkey.keycode, event->xkey.state);
- }
-}
-
void KillWindow::processEvent(xcb_generic_event_t *event)
{
if (event->response_type == XCB_BUTTON_RELEASE) {
diff --git a/killwindow.h b/killwindow.h
index 2158af3c67..fc92467f98 100644
--- a/killwindow.h
+++ b/killwindow.h
@@ -25,8 +25,6 @@ along with this program. If not, see .
#include
-typedef union _XEvent XEvent;
-
namespace KWin
{
@@ -42,8 +40,6 @@ public:
return m_active;
}
bool isResponsibleForEvent(int eventType) const;
- // TODO: remove once event handling is ported to XCB
- void processEvent(XEvent *event);
void processEvent(xcb_generic_event_t *event);
private: