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


Ignore:
Timestamp:
2023-08-09T11:27:03Z (12 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
24be331e
Parents:
a77c722
git-author:
Jiri Svoboda <jiri@…> (2023-08-08 17:26:15)
git-committer:
Jiri Svoboda <jiri@…> (2023-08-09 11:27:03)
Message:

Switch focus to the right window when window is closed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/test/seat.c

    ra77c722 racd7ac2  
    212212        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    213213
     214        /* w0 is at the top, then w1, then w2 */
     215
    214216        PCUT_ASSERT_EQUALS(w0, seat->focus);
    215217
    216218        ds_window_unfocus(w0);
    217219
    218         /* The previous window, w2, should be focused now */
    219         PCUT_ASSERT_EQUALS(w2, seat->focus);
     220        /* The previous window, w1, should be focused now */
     221        PCUT_ASSERT_EQUALS(w1, seat->focus);
    220222
    221223        ds_window_destroy(w0);
Note: See TracChangeset for help on using the changeset viewer.