Changeset ef30659 in mainline


Ignore:
Timestamp:
2020-04-26T09:04:10Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e49b7997
Parents:
71eff34
Message:

Fix null pointer dereference when last window is destroyed

File:
1 edited

Legend:

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

    r71eff34 ref30659  
    8888        seat->focus = wnd;
    8989
    90         if (wnd != NULL)
     90        if (wnd != NULL) {
    9191                ds_window_post_focus_event(wnd);
    92 
    93         ds_window_bring_to_top(wnd);
     92                ds_window_bring_to_top(wnd);
     93        }
    9494}
    9595
Note: See TracChangeset for help on using the changeset viewer.