Changeset cc90846 in mainline
- Timestamp:
- 2020-01-27T13:07:17Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f5191b4
- Parents:
- 01c2759
- git-author:
- Jiri Svoboda <jiri@…> (2020-01-26 18:07:01)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-01-27 13:07:17)
- Location:
- uspace/srv/hid/display
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/dsops.c
r01c2759 rcc90846 71 71 wnd->id); 72 72 73 /* XXX All the below should probably be part of ds_window_create() */ 73 74 wnd->dpos.x = ((wnd->id - 1) & 1) * 400; 74 75 wnd->dpos.y = ((wnd->id - 1) & 2) / 2 * 300; … … 76 77 seat = ds_display_first_seat(client->display); 77 78 ds_seat_set_focus(seat, wnd); 79 (void) ds_display_paint(wnd->display, NULL); 78 80 79 81 *rwnd_id = wnd->id; -
uspace/srv/hid/display/window.c
r01c2759 rcc90846 329 329 void ds_window_destroy(ds_window_t *wnd) 330 330 { 331 ds_display_t *disp; 332 333 disp = wnd->display; 334 331 335 ds_client_remove_window(wnd); 332 336 ds_display_remove_window(wnd); 337 333 338 (void) gfx_context_delete(wnd->gc); 334 339 if (wnd->bitmap != NULL) … … 336 341 337 342 free(wnd); 343 344 (void) ds_display_paint(disp, NULL); 338 345 } 339 346
Note:
See TracChangeset
for help on using the changeset viewer.