Changeset 9e84d2c in mainline for uspace/srv/hid/display/dsops.c
- Timestamp:
- 2021-06-10T13:22:33Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5823aef3
- Parents:
- c9927c66
- git-author:
- Jiri Svoboda <jiri@…> (2021-06-02 17:00:03)
- git-committer:
- jxsvoboda <5887334+jxsvoboda@…> (2021-06-10 13:22:33)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/display/dsops.c
rc9927c66 r9e84d2c 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.