Task bar should not crash when starting in terminal
commit983052cc42855347de98acc1f926d82ed26c7a5d
authorJiri Svoboda <jiri@wiwaxia>
Mon, 9 Oct 2023 18:30:06 +0000 (9 20:30 +0200)
committerJiri Svoboda <jiri@wiwaxia>
Tue, 10 Oct 2023 12:30:54 +0000 (10 14:30 +0200)
treea60d018a85b1ac9db6319b804bf022522238e49d
parent9bec33a84b5a9f9363c4b72dcbca2923f22877fb
Task bar should not crash when starting in terminal

Firstly, we need to make sure we do not paint anything while
UI is suspended. Also, we were missing calls to ui_lock/unlock()
while delivering kbd/pos events from console.
uspace/app/taskbar/clock.c
uspace/app/taskbar/wndlist.c
uspace/app/taskbar/wndlist.h
uspace/lib/ui/include/ui/ui.h
uspace/lib/ui/private/ui.h
uspace/lib/ui/src/ui.c
uspace/lib/ui/test/ui.c