[maemo-commits] [maemo-commits] r17760 - in projects/haf/trunk/libmatchbox2: . matchbox/core

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Mar 20 14:58:33 EET 2009
Author: kihamala
Date: 2009-03-20 14:58:32 +0200 (Fri, 20 Mar 2009)
New Revision: 17760

Modified:
   projects/haf/trunk/libmatchbox2/ChangeLog
   projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-decor.c
Log:
revert my changes, it's the other spin_loop...


Modified: projects/haf/trunk/libmatchbox2/ChangeLog
===================================================================
--- projects/haf/trunk/libmatchbox2/ChangeLog	2009-03-20 12:14:23 UTC (rev 17759)
+++ projects/haf/trunk/libmatchbox2/ChangeLog	2009-03-20 12:58:32 UTC (rev 17760)
@@ -1,11 +1,3 @@
-2009-03-20  Kimmo Hämäläinen  <kimmo.hamalainen at nokia.com>
-
-	* matchbox/core/mb-wm-decor.c (mb_wm_decor_release_handler,
-	mb_wm_decor_press_handler): Commented out since dragging windows
-	around is not supported and since NB#101901 reports a crash related to
-	this code.
-	(mb_wm_decor_sync_window): Do not install the press handler.
-
 2009-03-20  Adam Endrodi  <adam.endrodi at blumsoft.eu>
 
 	* matchbox/comp-mgr/mb-wm-comp-mgr.c:

Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-decor.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-decor.c	2009-03-20 12:14:23 UTC (rev 17759)
+++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-decor.c	2009-03-20 12:58:32 UTC (rev 17760)
@@ -200,7 +200,6 @@
 static Bool
 mb_wm_decor_reparent (MBWMDecor *decor);
 
-#if 0
 static Bool
 mb_wm_decor_release_handler (XButtonEvent    *xev,
 			     void            *userdata)
@@ -321,7 +320,6 @@
 
   return retval;
 }
-#endif
 
 static Bool
 mb_wm_decor_sync_window (MBWMDecor *decor)
@@ -379,9 +377,6 @@
 		            (MBWMListForEachCB)mb_wm_decor_button_sync_window,
 			    NULL);
 
-#if 0 /* we don't need to support dragging windows around, and there was
-         a crash in mb_wm_decor_press_handler, so this is disabled for now */
-
       /*
        * If this is a decor with buttons, then we install button press handler
        * so we can drag the window, if it is movable.
@@ -400,7 +395,6 @@
 			        (MBWMXEventFunc)mb_wm_decor_press_handler,
 			        decor);
 	}
-#endif
 
       return mb_wm_decor_reparent (decor);
     }


More information about the maemo-commits mailing list