Commit Graph
111 Commits
Author SHA1 Message Date
Vincent Wei 9141e13640 suppress some warnings reported by GCC 12 2022-09-15 15:01:30 +08:00
Vincent Wei 4ebd23bf56 use MSG_TIMEOUT instead of MSG_TIMER for desktop 2021-05-03 21:26:42 +08:00
Vincent Wei f970fd377e call mg_TerminateCompositor in TerminateGUI 2021-03-28 19:37:53 +08:00
Vincent Wei 30147e9e01 call __mg_sync_special_nodes for new layer 2021-03-24 19:22:05 +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 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 9fa7401542 use mg_def_layer for the first layer 2021-03-23 21:03:38 +08:00
Vincent Wei 62bcaebe14 tune DEF_NR_TOOLTIPS and DEF_NR_MASKRECTS 2021-03-23 19:08:51 +08:00
Vincent Wei 9a09deee91 Tune ServerSetTopmostLayer 2021-03-23 11:40:34 +08:00
Vincent Wei bc20a11744 use _ERR_PRINTF 2020-10-12 17:57:52 +08:00
Vincent Wei 8dcb3349c7 always check expired timers even got EINTR 2020-09-21 08:33:34 +08:00
gengyue fa2382c0de modified for ServerGetTopmostZNodeOfType 2020-09-06 11:11:13 +08:00
Vincent Wei 5944085555 return client identifier if ok 2020-09-06 09:48:24 +08:00
Vincent Wei 97f4215330 add new API ServerGetTopmostZNodeOfType and implement it 2020-09-06 09:44:31 +08:00
Vincent Wei 5fc1c1101e fix a bug: do not call function in assert() 2020-06-06 12:04:14 +08:00
Vincent Wei 1764c47131 depress compile warnings 2020-06-03 18:07:52 +08:00
Vincent Wei 433d5d6cc5 try to optimze cursor refresh (not finished) 2020-03-23 22:08:47 +08:00
Vincent Wei 41858de966 fix a bug: pass correct select timeout value 2020-03-22 17:37:43 +08:00
Vincent Wei 058db9ccdf handler authenticate_client for REQID_AUTHCLIENT 2020-03-21 17:48:40 +08:00
Vincent Wei d81d40f9b7 pixels_size -> map_size 2020-03-19 21:42:33 +08:00
Vincent Wei 53edb5dcba tune warning info 2020-03-17 17:31:46 +08:00
Vincent Wei 959407d7ea do not use fd for get_shared_surface for sharedfb schema under PROC runmode 2020-03-16 23:01:28 +08:00
Vincent Wei 5fa10b3d7f check name for shared surface 2020-03-16 14:49:16 +08:00
Vincent Wei 6b47d74be7 fix compilation errors/warnings 2020-03-15 22:11:16 +08:00
Vincent Wei 1bc10fb83e use name when request the shared surface 2020-03-15 11:56:12 +08:00
Vincent Wei 3611804ecc change name of field map_size to size 2020-03-14 22:35:07 +08:00
Vincent Wei 1bbd5ea4f1 IS_SHAREDFB_SCHEMA -> IS_SHAREDFB_SCHEMA_PROCS; reflects for the changes of fields name and internal functions 2020-03-14 19:03:57 +08:00
Vincent Wei 33e33902a4 we do not genenrate MSG_TIMEOUT message any more 2020-03-06 21:48:31 +08:00
Vincent Wei 08eace2093 handle middle button for MSG_MBUTTONDOWN, MSG_MBUTTONUP. and MSG_MBUTTONDBLCLK messages 2020-03-01 18:16:55 +08:00
Vincent Wei dce4dadebf implement calculate default position for main windows 2020-02-26 12:25:54 +08:00
Vincent Wei 53f8be5826 add request handler for REQID_CALCPOSITION 2020-02-26 11:12:38 +08:00
Vincent Wei 0e9b23efec always check timers in the idle handler 2020-02-25 17:16:09 +08:00
Vincent Wei cf7cb4c831 timer_count -> tick_count; use __mg_update_tick_count; cleanup MSG_TIMER handling of desktop 2020-02-22 16:06:57 +08:00
Vincent Wei c015eff8f0 call __mg_check_expired_timers in the idle handler 2020-02-21 20:02:28 +08:00
Vincent Wei 864be6b36d tune code for no timer thread for MiniGUI-Threads runmode; remove mg_InstallIntervalTimer and mg_UninstallIntervalTimer, always use mg_InitTimer and mg_TerminateTimer instead 2020-02-21 12:54:24 +08:00
Vincent Wei 3f9939955d SetDesktopTimerFlag -> AlertDesktopTimerEvent 2020-02-20 19:36:16 +08:00
Vincent Wei f555fc9c8f tune debug info 2020-02-20 17:47:39 +08:00
Vincent Wei c0bd1a98d1 use ZOF_TYPE_BOTTOMMOST and ZOF_TYPE_TOPMOST 2020-02-20 15:51:33 +08:00
Vincent Wei ab1dbb767a fix conditional compilation errors and tune 2020-02-19 22:12:54 +08:00
Vincent Wei d24788134f tune code for eight levels of zorder nodes 2020-02-19 19:38:25 +08:00
Vincent Wei 6f132886c3 4.2.0 -> 5.0.0 2020-02-18 18:44:42 +08:00
Vincent Wei cd6ba8e838 tune code for listen fd sets from message queue 2020-02-16 18:50:52 +08:00
Vincent Wei 664c30fb94 tune code for listen fd sets from message queue 2020-02-16 18:50:36 +08:00
Vincent Wei 21160fb01d rename internal symbols for better coding style 2020-02-14 12:54:54 +08:00
Vincent Wei 169e163202 cleanup 2020-02-12 17:58:41 +08:00
Vincent Wei 7635e41d25 do not call kernel_ReShowCursor for compositing schema 2020-02-11 23:59:53 +08:00
Vincent Wei 41cd8938cf call kernel_ReShowCursor for compositing schema 2020-02-11 11:11:15 +08:00
Vincent Wei f00ae8e932 fix bugs of recursive lock of znode surface 2020-02-10 22:54:04 +08:00
Vincent Wei f9dc61c75e cleanup 2020-02-07 19:06:41 +08:00