Changeset 983052c in mainline for uspace/lib/ui/include


Ignore:
Timestamp:
2023-10-10T12:30:54Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bd2fab5
Parents:
9bec33a
git-author:
Jiri Svoboda <jiri@…> (2023-10-09 18:30:06)
git-committer:
Jiri Svoboda <jiri@…> (2023-10-10 12:30:54)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/ui/ui.h

    r9bec33a r983052c  
    5757extern errno_t ui_suspend(ui_t *);
    5858extern errno_t ui_resume(ui_t *);
     59extern bool ui_is_suspended(ui_t *);
    5960extern void ui_lock(ui_t *);
    6061extern void ui_unlock(ui_t *);
Note: See TracChangeset for help on using the changeset viewer.