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:
parent
f515789b02
commit
76c6f75d80
1 changed files with 0 additions and 7 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue