Vincent Wei
|
f3c1ea0bc4
|
always regenerate window region for visible window znode
|
2021-03-26 11:11:44 +08:00 |
|
Vincent Wei
|
31a2d3c185
|
fix a bug in ServerGetWinZNodeRegion
|
2021-03-26 11:01:41 +08:00 |
|
Vincent Wei
|
1621cb7bf5
|
cleanup
|
2021-03-26 11:01:23 +08:00 |
|
Vincent Wei
|
89fcfe3979
|
tune implementation of Tooltip Window
|
2021-03-26 11:01:06 +08:00 |
|
Vincent Wei
|
5dd702017f
|
use malloc/free instead of mg_slice_alloc0/mg_slice_free; cleanup
|
2021-03-25 16:57:41 +08:00 |
|
Vincent Wei
|
0f1b251c91
|
adjust SIZE_CLIPRECTHEAP and SIZE_INVRECTHEAP
|
2021-03-25 16:57:07 +08:00 |
|
Vincent Wei
|
c8fcbd1864
|
cleanup
|
2021-03-25 15:46:55 +08:00 |
|
Vincent Wei
|
7802d000fe
|
fix bug in __mg_remove_all_znodes_of_client
|
2021-03-25 15:45:39 +08:00 |
|
Vincent Wei
|
9978a89991
|
tune code for potential memory leaks
|
2021-03-25 15:45:07 +08:00 |
|
Vincent Wei
|
87637f68dd
|
optimize
|
2021-03-25 14:13:28 +08:00 |
|
Vincent Wei
|
727f4ad5c5
|
initial implementation of composite_layers
|
2021-03-25 12:02:00 +08:00 |
|
Vincent Wei
|
30f1488c5c
|
use IS_TYPE_SPECIAL
|
2021-03-25 12:00:44 +08:00 |
|
Vincent Wei
|
62cb29a435
|
a simple implementation of transite_to_layer and a blank implementation of composite_layers
|
2021-03-24 21:59:29 +08:00 |
|
Vincent Wei
|
30147e9e01
|
call __mg_sync_special_nodes for new layer
|
2021-03-24 19:22:05 +08:00 |
|
Vincent Wei
|
a966689e88
|
pass zorder_info to dskSetActiveZOrderNode
|
2021-03-24 19:21:45 +08:00 |
|
Vincent Wei
|
42e1d5db2c
|
pass zorder_info to dskSetActiveZOrderNode
|
2021-03-24 19:20:55 +08:00 |
|
Vincent Wei
|
877ed4c382
|
add old_active and next_active in ZORDERINFO; declare __mg_sync_special_nodes
|
2021-03-24 19:20:32 +08:00 |
|
Vincent Wei
|
5ccb57c19d
|
fix deadlock buf in sync_special_nodes
|
2021-03-24 15:20:50 +08:00 |
|
Vincent Wei
|
80d03b2f6f
|
fix bugs in __mg_do_change_topmost_layer
|
2021-03-24 15:20:23 +08:00 |
|
Vincent Wei
|
b31d3860e6
|
change prototype of __mg_do_change_topmost_layer: change mgTopmostLayer in __mg_do_change_topmost_layer function
|
2021-03-24 15:19:05 +08:00 |
|
Vincent Wei
|
697177266b
|
fix compilation errors
|
2021-03-24 12:28:23 +08:00 |
|
Vincent Wei
|
48b84e3100
|
enhance move_to_layer to handle failure of __mg_move_client_to_layer
|
2021-03-24 11:35:34 +08:00 |
|
Vincent Wei
|
27122b421d
|
use mgDefaultLayer instead of mg_def_layer
|
2021-03-24 11:34:46 +08:00 |
|
Vincent Wei
|
a305dd85da
|
use sync_special_znodes when allocating or freeing a special znode
|
2021-03-24 11:34:06 +08:00 |
|
Vincent Wei
|
7bc4ae81dc
|
use sync_special_znodes when change the topmost layer and remove a client
|
2021-03-24 11:33:30 +08:00 |
|
Vincent Wei
|
8675244823
|
tune macros: IS_TYPE_GENERAL and IS_TYPE_SPECIAL
|
2021-03-24 11:32:33 +08:00 |
|
Vincent Wei
|
af7df5bcea
|
change prototype of __mg_move_client_to_layer
|
2021-03-24 11:32:09 +08:00 |
|
Vincent Wei
|
0ceee74091
|
One client can be moved to another layer only if it has not any window
|
2021-03-24 11:31:38 +08:00 |
|
Vincent Wei
|
9fa7401542
|
use mg_def_layer for the first layer
|
2021-03-23 21:03:38 +08:00 |
|
Vincent Wei
|
df65816504
|
reset usage bitmp when removing special znodes
|
2021-03-23 21:03:02 +08:00 |
|
Vincent Wei
|
62bcaebe14
|
tune DEF_NR_TOOLTIPS and DEF_NR_MASKRECTS
|
2021-03-23 19:08:51 +08:00 |
|
Vincent Wei
|
d88d508180
|
add def_zi_shmid in JOINEDCLIENTINFO
|
2021-03-23 19:08:25 +08:00 |
|
Vincent Wei
|
0178f28f66
|
init __mg_def_zorder_info; change the z-index of windows in __mg_client_on_layer_changed
|
2021-03-23 19:07:58 +08:00 |
|
Vincent Wei
|
9a09deee91
|
Tune ServerSetTopmostLayer
|
2021-03-23 11:40:34 +08:00 |
|
Vincent Wei
|
2190256165
|
disable def_paint_desktop for compositing schema; tune call of calc_mainwin_pos
|
2021-03-23 11:39:49 +08:00 |
|
Vincent Wei
|
cdba9dbd17
|
implement __mg_prepare_layer_for_compositing and __mg_end_up_layer_for_compositing
|
2021-03-23 11:38:43 +08:00 |
|
Vincent Wei
|
df3be3bde0
|
tune on_showing_win and on_hiding_win; implement on_layer_op for switch layers; tune calc_mainwin_pos for change of interface
|
2021-03-23 11:38:15 +08:00 |
|
Vincent Wei
|
4e43c9cfee
|
declare __mg_prepare_layer_for_compositing and __mg_end_up_layer_for_compositing
|
2021-03-23 11:37:04 +08:00 |
|
Vincent Wei
|
4e0cd74552
|
fix a bug of GetNextMainWindow
|
2020-12-15 17:02:16 +08:00 |
|
Vincent Wei
|
7530c4b5bd
|
use non-blocking read and ignore EV_SYN
|
2020-11-10 20:34:47 +08:00 |
|
Vincent Wei
|
b47d207bd2
|
fix a bug: misuse fdset in FD_SET and FD_ISSET
|
2020-11-10 19:49:21 +08:00 |
|
Vincent Wei
|
9ff29ccb94
|
do not return for EV_KEY
|
2020-11-10 18:52:44 +08:00 |
|
Vincent Wei
|
6da322ed49
|
cleanup
|
2020-11-10 18:32:16 +08:00 |
|
Vincent Wei
|
6e21fed525
|
tune
|
2020-11-10 18:28:30 +08:00 |
|
Vincent Wei
|
74747f383c
|
use blocking reading
|
2020-11-10 18:12:35 +08:00 |
|
Vincent Wei
|
bde7d74f02
|
break the loop for EV_KEY
|
2020-11-10 18:03:50 +08:00 |
|
Vincent Wei
|
cdc818d936
|
use no blocking read
|
2020-11-10 17:53:00 +08:00 |
|
Vincent Wei
|
8694a342b9
|
tune
|
2020-11-10 17:49:18 +08:00 |
|
Vincent Wei
|
dd9e59d82f
|
cleanup
|
2020-11-10 17:28:03 +08:00 |
|
Vincent Wei
|
1b2b87d187
|
cleanup
|
2020-11-10 16:55:55 +08:00 |
|