aboutsummaryrefslogtreecommitdiffstats
path: root/src/dialog_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialog_client.c')
-rw-r--r--src/dialog_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dialog_client.c b/src/dialog_client.c
index 7736591..f8aa4ca 100644
--- a/src/dialog_client.c
+++ b/src/dialog_client.c
@@ -108,7 +108,8 @@ dialog_client_check_for_state_hints(Client *c)
/* Call comp_engine_client_show to add damage to main window
* so it gets fully lowlighted ok.
*/
- if ((damaged_client = wm_get_visible_main_client(c->wm)) != NULL)
+ if (c->wm->config->dialog_shade &&
+ (damaged_client = wm_get_visible_main_client(c->wm)) != NULL)
{
comp_engine_client_show(c->wm, damaged_client);
}