Ignore:
File:
1 edited

Legend:

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

    r2c7fdaa rf9b2cb4c  
    896896        ipc_call_t call;
    897897        ipc_callid_t callid;
    898         service_id_t service_id = (service_id_t) IPC_GET_ARG1(*icall);
     898        service_id_t service_id = (service_id_t) IPC_GET_ARG2(*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(EXCHANGE_SERIALIZE, sid, 0);
     1177        sess = loc_service_connect(sid, INTERFACE_DDF, 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         rc = async_connect_to_me(exch, sid, 0, 0, vsl_notifications, NULL);
     1184       
     1185        port_id_t port;
     1186        rc = async_create_callback_port(exch, INTERFACE_VISUALIZER_CB, 0, 0,
     1187            vsl_notifications, NULL, &port);
     1188       
    11851189        async_exchange_end(exch);
    11861190
     
    21452149        }
    21462150
    2147         sess = loc_service_connect(EXCHANGE_ATOMIC, dsid, 0);
     2151        sess = loc_service_connect(dsid, INTERFACE_INPUT, 0);
    21482152        if (sess == NULL) {
    21492153                printf("%s: Unable to connect to input service %s\n", NAME,
     
    22402244       
    22412245        /* Register compositor server. */
    2242         async_set_client_connection(client_connection);
     2246        async_set_fallback_port_handler(client_connection, NULL);
    22432247       
    22442248        int rc = loc_server_register(NAME);
Note: See TracChangeset for help on using the changeset viewer.