Changeset 29a5a99 in mainline for uspace/srv/hid/display/window.c
- Timestamp:
- 2022-12-04T10:42:48Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 14b4577
- Parents:
- 795c6f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/window.c
r795c6f7 r29a5a99 150 150 ds_seat_set_focus(seat, wnd); 151 151 152 if ((params->flags & wndf_avoid) != 0) 153 ds_display_update_max_rect(wnd->display); 154 152 155 (void) ds_display_paint(wnd->display, NULL); 153 156 … … 183 186 ds_display_remove_window(wnd); 184 187 188 if ((wnd->flags & wndf_avoid) != 0) 189 ds_display_update_max_rect(disp); 190 185 191 mem_gc_delete(wnd->mgc); 186 192 … … 718 724 void ds_window_get_max_rect(ds_window_t *wnd, gfx_rect_t *rect) 719 725 { 720 *rect = wnd->display-> rect;726 *rect = wnd->display->max_rect; 721 727 } 722 728 … … 795 801 wnd->rect = *nrect; 796 802 803 if ((wnd->flags & wndf_avoid) != 0) 804 ds_display_update_max_rect(wnd->display); 805 797 806 (void) ds_display_paint(wnd->display, NULL); 798 807 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.