Changeset 0b6fad9 in mainline for uspace/srv/hid/display/test/seat.c

Timestamp:
2023-08-10T14:25:09Z (15 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
46bd63c9
Parents:
24be331e
git-author:
Jiri Svoboda <jiri@…> (2023-08-09 17:24:57)
git-committer:
Jiri Svoboda <jiri@…> (2023-08-10 14:25:09)
Message:

Avoid null pointer dereference when switching focus

I hit this when I created a new seat and there was no focused window.
It could probably also happen e.g. if there are no windows.
Now we also set focus for a newly created seat.

(No files)

Note: See TracChangeset for help on using the changeset viewer.