[maemo-commits] [maemo-commits] r18558 - projects/haf/trunk/libmatchbox2/matchbox/comp-mgr

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Jun 1 10:10:20 EEST 2009
Author: kihamala
Date: 2009-06-01 10:10:16 +0300 (Mon, 01 Jun 2009)
New Revision: 18558

Modified:
   projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c
Log:
don't handle damage in non-composited mode


Modified: projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c	2009-06-01 05:30:56 UTC (rev 18557)
+++ projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c	2009-06-01 07:10:16 UTC (rev 18558)
@@ -808,6 +808,11 @@
   MBWindowManagerClient     * c;
   Damage                      damage;
 
+  if (wm->non_redirection)
+    /* TODO: remember to refresh the client when we return to
+     * composited mode */
+    return False;
+
   c = mb_wm_managed_client_from_frame (wm, de->drawable);
 
   if (c && c->cm_client)


More information about the maemo-commits mailing list