Remove colormap handling from Client::windowEvent

This code never worked (git blame ends at 05507ee2). The event type is
ColormapNotify (32) and not ColormapChangeMask (1<<23).

Nobody noticed for years so it seems like unneeded to be fixed.

REVIEW: 109912
This commit is contained in:
Martin Gräßlin 2013-04-08 16:18:07 +02:00
parent f515789b02
commit 76c6f75d80

View file

@ -666,13 +666,6 @@ bool Client::windowEvent(XEvent* e)
case ClientMessage:
clientMessageEvent(&e->xclient);
break;
case ColormapChangeMask:
if (e->xany.window == window()) {
cmap = e->xcolormap.colormap;
if (isActive())
workspace()->updateColormap();
}
break;
default:
if (e->xany.window == window()) {
if (e->type == Xcb::Extensions::self()->shapeNotifyEvent()) {