Changeset 651
- Timestamp:
- 02/02/07 04:33:48 (6 years ago)
- Location:
- trunk/src/target/OM-2007/applications/openmoko-taskmanager/patch
- Files:
-
- 2 deleted
- 2 edited
-
README (modified) (1 diff)
-
autopatch.sh (deleted)
-
matchbox-window-manager-1.0.patch (deleted)
-
matchbox-window-manager-1.1.patch (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/target/OM-2007/applications/openmoko-taskmanager/patch/README
r567 r651 1 copy matchbox-window-manager-1.*.patch and autopatch.sh to matchbox-widnow-manager-1.* folder, and then run autopatch.sh 2 3 after install the patch reinstall matchbox-window-manager 1 patch files for matchbox-window-manager1.1 2 add two window-manager message managing functions for openmoko-taskmanager. -
trunk/src/target/OM-2007/applications/openmoko-taskmanager/patch/matchbox-window-manager-1.1.patch
r566 r651 1 diff -ruNw matchbox-window-manager-1.0/src/structs.h source/matchbox-window-manager-1.0/src/structs.h 2 --- matchbox-window-manager-1.0/src/structs.h 2006-11-17 16:15:09.000000000 -0500 3 +++ source/matchbox-window-manager-1.0/src/structs.h 2006-02-19 16:00:52.000000000 -0500 4 @@ -146,12 +146,6 @@ 5 #define MB_CMD_COMPOSITE 8 6 #define MB_CMB_KEYS_RELOAD 9 7 8 -/* Defines for MB_COMMAND values, for openmoko project */ 9 -#define MB_CMD_ACTIVAE_CLIENT 100 10 -#define MB_CMD_REMOVE_CLIENT 101 11 -#define MB_CMD_REMOVE_AND_ACTIVE 102 12 - 13 - 14 /* Atoms, if you change these check ewmh_init() first */ 15 16 enum { 17 diff -ruNw matchbox-window-manager-1.0/src/wm.c source/matchbox-window-manager-1.0/src/wm.c 18 --- matchbox-window-manager-1.0/src/wm.c 2006-11-17 16:14:04.000000000 -0500 19 +++ source/matchbox-window-manager-1.0/src/wm.c 2006-02-19 17:44:18.000000000 -0500 20 @@ -1625,24 +1625,6 @@ 21 case MB_CMD_DESKTOP : 22 wm_toggle_desktop(w); 23 break; 24 -/*For OpenMoko project, add by Sun Zhiyong*/ 25 - case MB_CMD_ACTIVAE_CLIENT : 26 - if (w->focused_client == c) 27 - break; 28 - else 29 - wm_activate_client(c); 30 - break; 31 - case MB_CMD_REMOVE_CLIENT : 32 - wm_remove_client(w, c); 33 - break; 34 - case MB_CMD_REMOVE_AND_ACTIVE : 35 - if (c == w->focused_client) 36 - break; 37 - else 38 - wm_remove_client(w, w->stack_top_app); 39 - wm_activate_client(c); 40 - break; 41 -/*End ADD*/ 42 case MB_CMD_MISC: /* This is used for random testing stuff */ 43 /* comp_engine_deinit(w); */ 44 #ifdef DEBUG 1 diff -ibc matchbox-window-manager-1.1/src/structs.h matchbox-window-manager-1.1.patch/src/structs.h 2 *** matchbox-window-manager-1.1/src/structs.h 2006-07-25 16:16:05.000000000 -0400 3 --- matchbox-window-manager-1.1.patch/src/structs.h 2007-01-06 06:29:26.000000000 -0500 4 *************** 5 *** 146,151 **** 6 --- 146,155 ---- 7 #define MB_CMD_COMPOSITE 8 8 #define MB_CMB_KEYS_RELOAD 9 9 10 + /* Defines for MB_COMMAND values, for openmoko project */ 11 + #define MB_CMD_ACTIVAE_CLIENT 100 12 + #define MB_CMD_REMOVE_CLIENT 101 13 + 14 /* Atoms, if you change these check ewmh_init() first */ 15 16 enum { 17 diff -ibc matchbox-window-manager-1.1/src/wm.c matchbox-window-manager-1.1.patch/src/wm.c 18 *** matchbox-window-manager-1.1/src/wm.c 2006-08-03 07:05:55.000000000 -0400 19 --- matchbox-window-manager-1.1.patch/src/wm.c 2007-01-06 06:28:15.000000000 -0500 20 *************** 21 *** 1683,1688 **** 22 --- 1683,1699 ---- 23 case MB_CMD_DESKTOP : 24 wm_toggle_desktop(w); 25 break; 26 + /*For OpenMoko project, add by Sun Zhiyong*/ 27 + case MB_CMD_ACTIVAE_CLIENT : 28 + if (c == w->focused_client) 29 + break; 30 + else 31 + wm_activate_client(c); 32 + break; 33 + case MB_CMD_REMOVE_CLIENT : 34 + wm_remove_client(w, c); 35 + break; 36 + /*End ADD*/ 37 case MB_CMD_MISC: /* This is used for random testing stuff */ 38 /* comp_engine_deinit(w); */ 39 #ifdef DEBUG
Note: See TracChangeset
for help on using the changeset viewer.
