Changeset 3e41cc4 in mainline for uspace/lib/ui/src/ui.c
- Timestamp:
- 2025-10-19T13:08:37Z (2 months ago)
- Branches:
- master
- Children:
- 5bf9ca21, aefdccd, c81ab84, e6b4d2d, fa655ae0
- Parents:
- bb4d0b5
- File:
-
- 1 edited
-
uspace/lib/ui/src/ui.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/ui.c
rbb4d0b5 r3e41cc4 412 412 errno_t rc; 413 413 gfx_context_t *gc; 414 ui_window_t * awnd;414 ui_window_t *wnd; 415 415 gfx_color_t *color = NULL; 416 416 … … 439 439 gfx_color_delete(color); 440 440 441 /* XXX Should repaint all windows */ 442 awnd = ui_window_get_active(ui); 443 if (awnd == NULL) 444 return EOK; 445 446 rc = ui_wdecor_paint(awnd->wdecor); 447 if (rc != EOK) 448 return rc; 449 450 return ui_window_paint(awnd); 441 /* Repaint all windows */ 442 wnd = ui_window_first(ui); 443 while (wnd != NULL) { 444 rc = ui_wdecor_paint(wnd->wdecor); 445 if (rc != EOK) 446 return rc; 447 448 rc = ui_window_paint(wnd); 449 if (rc != EOK) 450 return rc; 451 452 wnd = ui_window_next(wnd); 453 } 454 455 return EOK; 451 456 } 452 457
Note:
See TracChangeset
for help on using the changeset viewer.
