gint x, y;
gulong ignore_start;
- g_assert(c);
+ if (!c)
+ return;
if (!config_focus_under_mouse)
ignore_start = event_start_ignore_all_enters();
e->data.normal.mask = ob_rr_theme->max_mask;
set_icon_color(e);
- menu_add_normal(menu, CLIENT_SHADE, _("_Roll up/down"), NULL, TRUE);
+ e = menu_add_normal(menu, CLIENT_SHADE, _("_Roll up/down"), NULL, TRUE);
+ e->data.normal.mask = ob_rr_theme->shade_mask;
+ set_icon_color(e);
menu_add_normal(menu, CLIENT_DECORATE, _("Un/_Decorate"), NULL, TRUE);