Changeset 0d00e53 in mainline for uspace/srv/hid/display/window.c


Ignore:
Timestamp:
2024-11-07T10:38:29Z (3 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
9a07ee3, 9e7e1dc
Parents:
ad9e225
git-author:
Jiri Svoboda <jiri@…> (2024-10-06 18:37:25)
git-committer:
Jiri Svoboda <jiri@…> (2024-11-07 10:38:29)
Message:

Shut down dialog

File:
1 edited

Legend:

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

    rad9e225 r0d00e53  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    153153
    154154        /* Is this a popup window? */
    155         if ((params->flags & wndf_popup) != 0)
     155        if ((params->flags & wndf_popup) != 0) {
    156156                ds_seat_set_popup(seat, wnd);
    157         else
    158                 ds_seat_set_focus(seat, wnd);
     157        } else {
     158                if ((params->flags & wndf_nofocus) == 0)
     159                        ds_seat_set_focus(seat, wnd);
     160        }
    159161
    160162        /* Is this window a panel? */
Note: See TracChangeset for help on using the changeset viewer.