[maemo-commits] [maemo-commits] r19396 - in projects/haf/trunk/libmatchbox2: . matchbox/core
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Sep 30 15:57:44 EEST 2009
- Previous message: [maemo-commits] r19395 - projects/haf/trunk/clutter0.8/debian
- Next message: [maemo-commits] r19397 - projects/haf/trunk/libmatchbox2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.eu> + + * 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.com> 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
- Previous message: [maemo-commits] r19395 - projects/haf/trunk/clutter0.8/debian
- Next message: [maemo-commits] r19397 - projects/haf/trunk/libmatchbox2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]