aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-08-07 13:26:41 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-08-07 13:26:51 -0400
commitf7278719c1038edfd0a818b418c9bc7377159afd (patch)
treec6b42af445ae8a55866d042e8031fbb2deb5eb3c /src/lib/elementary/efl_ui_win.c
parentelm_win: simplify/fix recalc logic when changing csd (diff)
downloadefl-f7278719c1038edfd0a818b418c9bc7377159afd.tar.gz
elm_win: set shadow geometry based on borderless state
@fix
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 1caa4e125c..2019f78e9d 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -4423,7 +4423,7 @@ _elm_win_frame_style_update(Efl_Ui_Win_Data *sd, Eina_Bool force_emit, Eina_Bool
alpha = sd->application_alpha || sd->theme_alpha;
borderless = sd->csd.need_borderless || (!sd->csd.need) || sd->fullscreen;
maximized = sd->maximized;
- shadow = sd->csd.need_shadow && (!sd->fullscreen) && (!sd->maximized);
+ shadow = sd->csd.need_shadow && (!sd->fullscreen) && (!sd->maximized) && (!borderless);
if (alpha && borderless) shadow = 0;
#ifdef HAVE_ELEMENTARY_WL2
if (sd->wl.win)