Changeset 3e41cc4 in mainline for uspace/lib/ui/src/window.c


Ignore:
Timestamp:
2025-10-19T13:08:37Z (4 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
aefdccd, e6b4d2d, fa655ae0
Parents:
bb4d0b5
Message:

Repaint all windows in fullscreen mode in ui_paint().

After error dialog is closed in Navigator, need to also repaint main window,
not just progress window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/window.c

    rbb4d0b5 r3e41cc4  
    617617}
    618618
     619/** Get first (lowermost) window (only valid in fullscreen mode).
     620 *
     621 * @param ui User interface
     622 * @return First window
     623 */
     624ui_window_t *ui_window_first(ui_t *ui)
     625{
     626        link_t *link;
     627
     628        link = list_first(&ui->windows);
     629        if (link == NULL)
     630                return NULL;
     631
     632        return list_get_instance(link, ui_window_t, lwindows);
     633}
     634
     635/** Get next window (only valid in fullscreen mode).
     636 *
     637 * @param cur Current window
     638 * @return First window
     639 */
     640ui_window_t *ui_window_next(ui_window_t *cur)
     641{
     642        link_t *link;
     643
     644        link = list_next(&cur->lwindows, &cur->ui->windows);
     645        if (link == NULL)
     646                return NULL;
     647
     648        return list_get_instance(link, ui_window_t, lwindows);
     649}
     650
    619651/** Get active window (only valid in fullscreen mode).
    620652 *
Note: See TracChangeset for help on using the changeset viewer.