[mutter] window-actor: Special-case COMBO window's shadow class
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window-actor: Special-case COMBO window's shadow class
- Date: Wed, 15 Feb 2017 23:50:22 +0000 (UTC)
commit cb86745245178800ddb35335ab05f036f5abfe20
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Feb 1 18:21:16 2017 +0100
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index 2d2158f..1184cd4 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";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]