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


Ignore:
Timestamp:
2024-11-07T10:38:29Z (3 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
9a07ee3, a450088
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/seat.c

    rad9e225 r0d00e53  
    492492        /* Focus window on button press */
    493493        if (event->type == PTD_PRESS && event->btn_num == 1) {
    494                 if (wnd != NULL && (wnd->flags & wndf_popup) == 0) {
     494                if (wnd != NULL && (wnd->flags & wndf_popup) == 0 &&
     495                    (wnd->flags & wndf_nofocus) == 0) {
    495496                        ds_seat_set_focus(seat, wnd);
    496497                }
Note: See TracChangeset for help on using the changeset viewer.