Changeset aefdccd in mainline for uspace/lib/ui/src/window.c
- Timestamp:
- 2025-10-20T06:14:54Z (7 weeks ago)
- Parents:
- adbd7e1 (diff), 3e41cc4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2025-10-20 06:14:54)
- git-committer:
- GitHub <noreply@…> (2025-10-20 06:14:54)
- File:
-
- 1 edited
-
uspace/lib/ui/src/window.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/window.c
radbd7e1 raefdccd 617 617 } 618 618 619 /** Get first (lowermost) window (only valid in fullscreen mode). 620 * 621 * @param ui User interface 622 * @return First window 623 */ 624 ui_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 */ 640 ui_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 619 651 /** Get active window (only valid in fullscreen mode). 620 652 *
Note:
See TracChangeset
for help on using the changeset viewer.
