The colormap is being set twice when moving focus to the root window

This commit is contained in:
Dana Jansens 2009-12-09 13:23:03 -05:00
parent 5b20b3fc7f
commit d7d54e9b89

View file

@ -184,12 +184,6 @@ ObClient* focus_fallback(gboolean allow_refocus, gboolean allow_pointer,
void focus_nothing(void) void focus_nothing(void)
{ {
/* Install our own colormap */
if (focus_client != NULL) {
screen_install_colormap(focus_client, FALSE);
screen_install_colormap(NULL, TRUE);
}
/* nothing is focused, update the colormap and _the root property_ */ /* nothing is focused, update the colormap and _the root property_ */
focus_set_client(NULL); focus_set_client(NULL);