From 7408e363407c3289f414e4215abea54a4b4916ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 30 Jul 2013 10:11:51 +0200 Subject: [PATCH] Drop X event handling from Group Dead code --- events.cpp | 13 ------------- group.h | 1 - 2 files changed, 14 deletions(-) diff --git a/events.cpp b/events.cpp index fd83977bf8..7fa1d10fa9 100644 --- a/events.cpp +++ b/events.cpp @@ -1634,18 +1634,5 @@ void Toplevel::propertyNotifyEvent(xcb_property_notify_event_t *e) emit propertyNotify(this, e->atom); } -// **************************************** -// Group -// **************************************** - -bool Group::groupEvent(XEvent* e) -{ - unsigned long dirty[ 2 ]; - leader_info->event(e, dirty, 2); // pass through the NET stuff - if ((dirty[ NETWinInfo::PROTOCOLS2 ] & NET::WM2StartupId) != 0) - startupIdChanged(); - return false; -} - } // namespace diff --git a/group.h b/group.h index e497fa8d9e..3103d9c343 100644 --- a/group.h +++ b/group.h @@ -49,7 +49,6 @@ public: void removeMember(Client* member); void gotLeader(Client* leader); void lostLeader(); - bool groupEvent(XEvent* e); void updateUserTime(Time time = CurrentTime); Time userTime() const; void ref();