Changeset 7bb45e3 in mainline


Ignore:
Timestamp:
2020-02-28T16:29:20Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
338d0935
Parents:
a8eed5f
Message:

Fix structure name, add missing file

Location:
uspace/lib/display
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/display/src/disp_srv.c

    ra8eed5f r7bb45e3  
    113113        sysarg_t wnd_id;
    114114        ipc_call_t call;
    115         display_wnd_move_t wmove;
     115        display_wnd_resize_t wresize;
    116116        size_t size;
    117117        errno_t rc;
     
    125125        }
    126126
    127         if (size != sizeof(display_wnd_move_t)) {
     127        if (size != sizeof(display_wnd_resize_t)) {
    128128                async_answer_0(&call, EINVAL);
    129129                async_answer_0(icall, EINVAL);
     
    131131        }
    132132
    133         rc = async_data_write_finalize(&call, &wmove, size);
     133        rc = async_data_write_finalize(&call, &wresize, size);
    134134        if (rc != EOK) {
    135135                async_answer_0(&call, rc);
     
    143143        }
    144144
    145         rc = srv->ops->window_resize(srv->arg, wnd_id, &wmove.offs,
    146             &wmove.nrect);
     145        rc = srv->ops->window_resize(srv->arg, wnd_id, &wresize.offs,
     146            &wresize.nrect);
    147147        async_answer_0(icall, rc);
    148148}
  • uspace/lib/display/src/display.c

    ra8eed5f r7bb45e3  
    292292        aid_t req;
    293293        ipc_call_t answer;
    294         display_wnd_move_t wmove;
    295         errno_t rc;
    296 
    297         wmove.offs = *offs;
    298         wmove.nrect = *nrect;
     294        display_wnd_resize_t wresize;
     295        errno_t rc;
     296
     297        wresize.offs = *offs;
     298        wresize.nrect = *nrect;
    299299
    300300        exch = async_exchange_begin(window->display->sess);
    301301        req = async_send_1(exch, DISPLAY_WINDOW_RESIZE, window->id, &answer);
    302         rc = async_data_write_start(exch, &wmove, sizeof (display_wnd_move_t));
     302        rc = async_data_write_start(exch, &wresize, sizeof (display_wnd_resize_t));
    303303        async_exchange_end(exch);
    304304        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.