Changeset 46a47c0 in mainline for uspace/lib/ui/private/window.h


Ignore:
Timestamp:
2023-01-16T20:34:01Z (16 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b0ae23f
Parents:
b3eeae5
Message:

Make sure window is only show as inactive when it loses last focus

This currently affects the title bar and also the cursor in Terminal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/private/window.h

    rb3eeae5 r46a47c0  
    11/*
    2  * Copyright (c) 2022 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    116116extern void ui_window_send_unmaximize(ui_window_t *);
    117117extern void ui_window_send_close(ui_window_t *);
    118 extern void ui_window_send_focus(ui_window_t *);
     118extern void ui_window_send_focus(ui_window_t *, unsigned);
    119119extern void ui_window_send_kbd(ui_window_t *, kbd_event_t *);
    120120extern errno_t ui_window_send_paint(ui_window_t *);
    121121extern void ui_window_send_pos(ui_window_t *, pos_event_t *);
    122 extern void ui_window_send_unfocus(ui_window_t *);
     122extern void ui_window_send_unfocus(ui_window_t *, unsigned);
    123123extern errno_t ui_window_size_change(ui_window_t *, gfx_rect_t *,
    124124    ui_wnd_sc_op_t);
Note: See TracChangeset for help on using the changeset viewer.