Changeset fa98b26a in mainline for uspace/lib/c/generic/io/window.c


Ignore:
Timestamp:
2012-11-25T21:26:29Z (11 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
82edef2
Parents:
290a0f0
Message:

Improved window opening API to allow specification of initial window coordinates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/window.c

    r290a0f0 rfa98b26a  
    4040#include <stdio.h>
    4141
    42 int win_register(async_sess_t *sess, service_id_t *in, service_id_t *out)
     42int win_register(async_sess_t *sess, service_id_t *in, service_id_t *out,
     43    sysarg_t x_offset, sysarg_t y_offset)
    4344{
    4445        async_exch_t *exch = async_exchange_begin(sess);
    45         int ret = async_req_0_2(exch, WINDOW_REGISTER, in, out);
     46        int ret = async_req_2_2(exch, WINDOW_REGISTER, x_offset, y_offset, in, out);
    4647        async_exchange_end(exch);
    4748
Note: See TracChangeset for help on using the changeset viewer.