From cb86745245178800ddb35335ab05f036f5abfe20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 1 Feb 2017 18:21:16 +0100 Subject: [PATCH] window-actor: Special-case COMBO window's shadow class We currently don't have any shadow class for combo box popups, which means the default shadow of normal windows is used. That's clearly odd given that the two are very different, and isn't consistent with GTK+-3's client-side shadows for popups. While we could add a dedicated shadow class, the designers are fine with reusing the existing shadow for dropdown-menus, so let's do that. https://bugzilla.gnome.org/show_bug.cgi?id=744667 --- src/compositor/meta-window-actor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index 2d2158fbd..1184cd422 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -593,6 +593,7 @@ meta_window_actor_get_shadow_class (MetaWindowActor *self) switch (window_type) { case META_WINDOW_DROPDOWN_MENU: + case META_WINDOW_COMBO: return "dropdown-menu"; case META_WINDOW_POPUP_MENU: return "popup-menu";