summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@ACER-SUSE.SUSE>2008-02-29 23:02:02 +0900
committerSam Spilsbury <Sam@ACER-SUSE.SUSE>2008-02-29 23:02:02 +0900
commit4365743332212dca41b557cc397229272e961951 (patch)
tree42bac24d0e7bd4b8947a5ad6c9f719f9a3ff65fb
parent4c8b00716b5fcab70533a5d46ecdfa4768e1c2e5 (diff)
downloadwiimote-4365743332212dca41b557cc397229272e961951.tar.gz
wiimote-4365743332212dca41b557cc397229272e961951.tar.bz2
* Another workaround
-rw-r--r--wiimote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wiimote.c b/wiimote.c
index 984ce8c..b224015 100644
--- a/wiimote.c
+++ b/wiimote.c
@@ -157,9 +157,10 @@ wiimoteFreeWindowTitle (CompScreen *s)
{
WIIMOTE_SCREEN(s);
- if (!as->textPixmap || as->textTexture != NULL)
+ if (!as->textPixmap)
return;
+ initTexture (s, &as->textTexture);
releasePixmapFromTexture (s, &as->textTexture);
initTexture (s, &as->textTexture);
XFreePixmap (s->display->display, as->textPixmap);