Changeset 06176e1 in mainline for uspace/srv/hid/display/seat.c


Ignore:
Timestamp:
2022-12-20T12:31:44Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4e7b0ad
Parents:
d46ac73
git-author:
Jiri Svoboda <jiri@…> (2022-12-19 18:31:30)
git-committer:
Jiri Svoboda <jiri@…> (2022-12-20 12:31:44)
Message:

Minimizing windows

File:
1 edited

Legend:

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

    rd46ac73 r06176e1  
    9090void ds_seat_set_focus(ds_seat_t *seat, ds_window_t *wnd)
    9191{
     92        errno_t rc;
     93
    9294        if (wnd == seat->focus) {
    9395                /* Focus is not changing */
    9496                return;
     97        }
     98
     99        if (wnd != NULL) {
     100                rc = ds_window_unminimize(wnd);
     101                if (rc != EOK)
     102                        return;
    95103        }
    96104
Note: See TracChangeset for help on using the changeset viewer.