summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Bosveld <Joel.Bosveld@gmail.com>2008-06-03 22:00:06 +0800
committerJoel Bosveld <Joel.Bosveld@gmail.com>2008-06-03 22:00:06 +0800
commit6ef03fc28c501b8f706ec37569c01afb562243a6 (patch)
tree93ed7005f8ef672022f58b79830f0286fe5a8300
parent83e6505939e3b38332cb68588c00fe786f72fdc6 (diff)
downloadjasper-6ef03fc28c501b8f706ec37569c01afb562243a6.tar.gz
jasper-6ef03fc28c501b8f706ec37569c01afb562243a6.tar.bz2
Only update name on the name property change
-rw-r--r--plugins/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/text.c b/plugins/text.c
index c84862a..c96ab8a 100644
--- a/plugins/text.c
+++ b/plugins/text.c
@@ -175,7 +175,7 @@ textHandleEvent (JasperCore *core, XEvent *event)
core->handleEvent (core, event);
WRAP (tc, core, handleEvent, textHandleEvent);
- if(event->type == PropertyNotify)
+ if(event->type == PropertyNotify && event->xproperty.atom == tc->nameAtom)
{
JasperWindow *w;
for(w=(JasperWindow *)core->base.children;w;w=(JasperWindow *)w->base.next) if(w->id == event->xproperty.window) break;