Drop dead Xlib code from KillWindow
Still had an Xevent handler.
This commit is contained in:
parent
c0b2e5dc8b
commit
cef03c2b9e
2 changed files with 0 additions and 13 deletions
|
@ -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) {
|
||||
|
|
|
@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#include <xcb/xcb.h>
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue