Ignore:
File:
1 edited

Legend:

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

    rf9b2cb4c r2c7fdaa  
    896896        ipc_call_t call;
    897897        ipc_callid_t callid;
    898         service_id_t service_id = (service_id_t) IPC_GET_ARG2(*icall);
     898        service_id_t service_id = (service_id_t) IPC_GET_ARG1(*icall);
    899899
    900900        /* Allocate resources for new window and register it to the location service. */
     
    11751175        async_sess_t *sess;
    11761176
    1177         sess = loc_service_connect(sid, INTERFACE_DDF, 0);
     1177        sess = loc_service_connect(EXCHANGE_SERIALIZE, sid, 0);
    11781178        if (sess == NULL) {
    11791179                printf("%s: Unable to connect to visualizer %s\n", NAME, svc);
     
    11821182
    11831183        async_exch_t *exch = async_exchange_begin(sess);
    1184        
    1185         port_id_t port;
    1186         rc = async_create_callback_port(exch, INTERFACE_VISUALIZER_CB, 0, 0,
    1187             vsl_notifications, NULL, &port);
    1188        
     1184        rc = async_connect_to_me(exch, sid, 0, 0, vsl_notifications, NULL);
    11891185        async_exchange_end(exch);
    11901186
     
    21492145        }
    21502146
    2151         sess = loc_service_connect(dsid, INTERFACE_INPUT, 0);
     2147        sess = loc_service_connect(EXCHANGE_ATOMIC, dsid, 0);
    21522148        if (sess == NULL) {
    21532149                printf("%s: Unable to connect to input service %s\n", NAME,
     
    22442240       
    22452241        /* Register compositor server. */
    2246         async_set_fallback_port_handler(client_connection, NULL);
     2242        async_set_client_connection(client_connection);
    22472243       
    22482244        int rc = loc_server_register(NAME);
Note: See TracChangeset for help on using the changeset viewer.