Changes in uspace/lib/gui/window.c [d6be097:c23275a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.c
rd6be097 rc23275a 677 677 } 678 678 679 int window_set_caption(window_t *win, const char *caption)680 {681 char *cap;682 683 if (caption == NULL) {684 win->caption = NULL;685 } else {686 cap = str_dup(caption);687 if (cap == NULL)688 return ENOMEM;689 free(win->caption);690 win->caption = cap;691 }692 693 win->is_focused = false;694 handle_refresh(win);695 696 return EOK;697 }698 699 679 void window_refresh(window_t *win) 700 680 {
Note:
See TracChangeset
for help on using the changeset viewer.