Changeset b4b4dafe in mainline for uspace/srv/hid/display/dsops.c
- Timestamp:
- 2021-06-03T14:02:59Z (3 years ago)
- Children:
- 2e6394e
- Parents:
- 6baab83
- git-author:
- Jiri Svoboda <jiri@…> (2021-06-02 17:00:03)
- git-committer:
- Jiri Svoboda <jiri@…> (2021-06-03 14:02:59)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/dsops.c
r6baab83 rb4b4dafe 1 1 /* 2 * Copyright (c) 20 19Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 75 75 errno_t rc; 76 76 ds_client_t *client = (ds_client_t *) arg; 77 ds_seat_t *seat;78 77 ds_window_t *wnd; 79 78 … … 92 91 wnd->id); 93 92 94 /* XXX All the below should probably be part of ds_window_create() */95 wnd->dpos.x = ((wnd->id - 1) & 1) * 400;96 wnd->dpos.y = ((wnd->id - 1) & 2) / 2 * 300;97 98 seat = ds_display_first_seat(client->display);99 ds_seat_set_focus(seat, wnd);100 (void) ds_display_paint(wnd->display, NULL);101 102 93 ds_display_unlock(client->display); 103 94
Note:
See TracChangeset
for help on using the changeset viewer.