
subversion at stage
Sep 30, 2009, 5:57 AM
Post #1 of 1
(237 views)
Permalink
|
|
r19396 - in projects/haf/trunk/libmatchbox2: . matchbox/core
|
|
Author: aendrodi Date: 2009-09-30 15:57:28 +0300 (Wed, 30 Sep 2009) New Revision: 19396 Modified: projects/haf/trunk/libmatchbox2/ChangeLog projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c Log: * matchbox/core/mb-wm-client-window.c (mb_wm_client_window_sync_properties): Don't leak COOKIE_WIN_NET_STATE, COOKIE_WIN_TYPE, COOKIE_WIN_HILDON_TYPE, COOKIE_WIN_GEOM either. Modified: projects/haf/trunk/libmatchbox2/ChangeLog =================================================================== --- projects/haf/trunk/libmatchbox2/ChangeLog 2009-09-29 11:14:53 UTC (rev 19395) +++ projects/haf/trunk/libmatchbox2/ChangeLog 2009-09-30 12:57:28 UTC (rev 19396) @@ -1,3 +1,10 @@ +2009-09-29 Adam Endrodi <adam.endrodi [at] blumsoft> + + * matchbox/core/mb-wm-client-window.c + (mb_wm_client_window_sync_properties): + Don't leak COOKIE_WIN_NET_STATE, COOKIE_WIN_TYPE, + COOKIE_WIN_HILDON_TYPE, COOKIE_WIN_GEOM either. + 2009-09-28 Kimmo Hämäläinen <kimmo.hamalainen [at] nokia> Release 0.2.70 Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c =================================================================== --- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c 2009-09-29 11:14:53 UTC (rev 19395) +++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c 2009-09-30 12:57:28 UTC (rev 19396) @@ -24,7 +24,7 @@ #define NumPropWMHintsElements 9 /* number of elements in this structure */ enum { - COOKIE_WIN_TYPE = 0, + COOKIE_WIN_TYPE = 1, COOKIE_WIN_ATTR, COOKIE_WIN_GEOM, COOKIE_WIN_NAME, @@ -1266,6 +1266,9 @@ COOKIE_WIN_CM_TRANSLUCENCY, COOKIE_WIN_HILDON_STACKING, COOKIE_WIN_PORTRAIT_REQUEST, + COOKIE_WIN_NET_STATE, + COOKIE_WIN_TYPE, + COOKIE_WIN_HILDON_TYPE, 0 }; int *cursor; @@ -1288,6 +1291,17 @@ } } + if (cookies[COOKIE_WIN_GEOM]) + { + MBGeometry geo; + unsigned border, depth; + + mb_wm_xwin_get_geometry_reply (wm, + cookies[COOKIE_WIN_GEOM], + &geo, &border, &depth, + &x_error_code); + } + if (abort_exit) return True; else _______________________________________________ maemo-commits mailing list maemo-commits [at] maemo https://lists.maemo.org/mailman/listinfo/maemo-commits
|