[maemo-commits] [maemo-commits] r19250 - projects/haf/trunk/libmatchbox2/matchbox/core
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Sat Aug 29 17:27:17 EEST 2009
- Previous message: [maemo-commits] r19249 - projects/haf/trunk/libmatchbox2/debian
- Next message: [maemo-commits] r19251 - in projects/haf/trunk/libmatchbox2: . debian matchbox/comp-mgr matchbox/core
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala Date: 2009-08-29 17:27:15 +0300 (Sat, 29 Aug 2009) New Revision: 19250 Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c Log: * matchbox/core/mb-wm-client.c (mb_wm_client_set_state): Do not assign a bitmask to 'old_state' because it is compared with Bool value later, using '==' operator. Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c =================================================================== --- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c 2009-08-28 17:20:05 UTC (rev 19249) +++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c 2009-08-29 14:27:15 UTC (rev 19250) @@ -933,7 +933,7 @@ return; /* not handled yet */ } - old_state = (win->ewmh_state & state_flag); + old_state = (win->ewmh_state & state_flag) ? True : False; switch (state_op) {
- Previous message: [maemo-commits] r19249 - projects/haf/trunk/libmatchbox2/debian
- Next message: [maemo-commits] r19251 - in projects/haf/trunk/libmatchbox2: . debian matchbox/comp-mgr matchbox/core
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]