aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/composite/composite-engine.c2
-rw-r--r--src/dialog_client.c3
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6123703..05bddd0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-03 Matthew Allum <mallum@openedhand.com>
+
+ * src/composite/composite-engine.c: (comp_engine_client_show):
+ Add slightly more debug info
+ * src/dialog_client.c: (dialog_client_check_for_state_hints):
+ Dont completely damage parent window if lowlighting not enabled.
+
2007-08-02 Matthew Allum <mallum@openedhand.com>
* src/main_client.c: (main_client_unmap):
diff --git a/src/composite/composite-engine.c b/src/composite/composite-engine.c
index 97cf420..7d8c78f 100644
--- a/src/composite/composite-engine.c
+++ b/src/composite/composite-engine.c
@@ -958,7 +958,7 @@ comp_engine_client_show(Wm *w, Client *client)
if (!w->have_comp_engine) return;
- dbg("%s() called\n", __func__);
+ dbg("%s() called for %s\n", __func__, client->name);
/*
* Destroying / Recreating the client pictures should hopefully save
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);
}