Changeset 22faaf2 in mainline for uspace/srv/hid/display/display.c


Ignore:
Timestamp:
2019-10-29T02:34:14Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b3c185b6
Parents:
587b4cb
Message:

A little bit of tiling support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/display.c

    r587b4cb r22faaf2  
    6565        log_msg(LOG_DEFAULT, LVL_DEBUG, "disp_window_create() -> EOK, id=%zu",
    6666            wnd->id);
     67
     68        wnd->dpos.x = ((wnd->id - 1) & 1) * 400;
     69        wnd->dpos.y = ((wnd->id - 1) & 2) / 2 * 300;
     70
    6771        *rwnd_id = wnd->id;
    6872        return EOK;
Note: See TracChangeset for help on using the changeset viewer.