Changes in uspace/srv/hid/compositor/compositor.c [2c7fdaa:f9b2cb4c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/compositor/compositor.c
r2c7fdaa rf9b2cb4c 896 896 ipc_call_t call; 897 897 ipc_callid_t callid; 898 service_id_t service_id = (service_id_t) IPC_GET_ARG 1(*icall);898 service_id_t service_id = (service_id_t) IPC_GET_ARG2(*icall); 899 899 900 900 /* Allocate resources for new window and register it to the location service. */ … … 1175 1175 async_sess_t *sess; 1176 1176 1177 sess = loc_service_connect( EXCHANGE_SERIALIZE, sid, 0);1177 sess = loc_service_connect(sid, INTERFACE_DDF, 0); 1178 1178 if (sess == NULL) { 1179 1179 printf("%s: Unable to connect to visualizer %s\n", NAME, svc); … … 1182 1182 1183 1183 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 1185 1189 async_exchange_end(exch); 1186 1190 … … 2145 2149 } 2146 2150 2147 sess = loc_service_connect( EXCHANGE_ATOMIC, dsid, 0);2151 sess = loc_service_connect(dsid, INTERFACE_INPUT, 0); 2148 2152 if (sess == NULL) { 2149 2153 printf("%s: Unable to connect to input service %s\n", NAME, … … 2240 2244 2241 2245 /* Register compositor server. */ 2242 async_set_ client_connection(client_connection);2246 async_set_fallback_port_handler(client_connection, NULL); 2243 2247 2244 2248 int rc = loc_server_register(NAME);
Note:
See TracChangeset
for help on using the changeset viewer.