[maemo-commits] [maemo-commits] r17787 - in projects/haf/trunk/libmatchbox2: . matchbox/core
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Mar 24 14:59:13 EET 2009
- Previous message: [maemo-commits] r17786 - projects/haf/tags/sapwood
- Next message: [maemo-commits] r17788 - projects/haf/trunk/gail/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: aendrodi Date: 2009-03-24 14:58:42 +0200 (Tue, 24 Mar 2009) New Revision: 17787 Modified: projects/haf/trunk/libmatchbox2/ChangeLog projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-base.c Log: * matchbox/core/mb-wm-client-base.c (mb_wm_client_base_realize): Prepare the modal blocker window for possible rotateion. Modified: projects/haf/trunk/libmatchbox2/ChangeLog =================================================================== --- projects/haf/trunk/libmatchbox2/ChangeLog 2009-03-24 12:15:19 UTC (rev 17786) +++ projects/haf/trunk/libmatchbox2/ChangeLog 2009-03-24 12:58:42 UTC (rev 17787) @@ -1,3 +1,8 @@ +2009-03-24 Adam Endrodi <adam.endrodi at blumsoft.eu> + + * matchbox/core/mb-wm-client-base.c (mb_wm_client_base_realize): + Prepare the modal blocker window for possible rotateion. + 2009-03-23 Kimmo Hämäläinen <kimmo.hamalainen at nokia.com> Release 0.2.22 Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-base.c =================================================================== --- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-base.c 2009-03-24 12:15:19 UTC (rev 17786) +++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-base.c 2009-03-24 12:58:42 UTC (rev 17787) @@ -247,17 +247,21 @@ !mb_wm_client_get_transient_for (client) && mb_wm_get_modality_type (wm) == MBWMModalitySystem) { + int d; + XSetWindowAttributes attr; attr.override_redirect = True; attr.event_mask = MBWMChildMask|ButtonPressMask| ExposureMask; + /* Create a larger window because we might be rotated + * while the dialog is running. */ + d = wm->xdpy_width > wm->xdpy_height ? wm->xdpy_width : wm->xdpy_height; client->xwin_modal_blocker = XCreateWindow (wm->xdpy, wm->root_win->xwindow, 0, 0, - wm->xdpy_width, - wm->xdpy_height, + d, d, 0, CopyFromParent, InputOnly,
- Previous message: [maemo-commits] r17786 - projects/haf/tags/sapwood
- Next message: [maemo-commits] r17788 - projects/haf/trunk/gail/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]