aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormallum <mallum@b067294f-1dea-0310-9683-c47a78595994>2007-08-03 13:56:48 +0000
committerTomas Frydrych <tf@linux.intel.com>2011-01-07 12:26:34 +0000
commitb75366ff055d7746ff9ba0b7198f045f4647b4bc (patch)
tree4c62f8a04192f120e2291cd9ea349d2189a36355
parent4cc261c653f9086e2ebfdec705b1e5eee3ca7c48 (diff)
downloadmatchbox-window-manager-cm.tar.gz
matchbox-window-manager-cm.tar.bz2
matchbox-window-manager-cm.zip
2007-08-03 Matthew Allum <mallum@openedhand.com>matchbox-window-manager-cm
* 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. git-svn-id: https://svn.o-hand.com/repos/matchbox/branches/matchbox-window-manager-cm@1622 b067294f-1dea-0310-9683-c47a78595994
-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);
}