Changeset 4224ef7 in mainline for uspace/lib/gui/window.c
- Timestamp:
- 2019-08-06T18:18:37Z (5 years ago)
- Children:
- e55741e
- Parents:
- dd5c623
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-05-11 16:50:40)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-06 18:18:37)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.c
rdd5c623 r4224ef7 616 616 win->surface = NULL; 617 617 618 unsigned int ipc_flags = IPC_FLAG_AUTOSTART; 618 619 service_id_t reg_dsid; 619 errno_t rc = loc_service_get_id(winreg, ®_dsid, 0);620 errno_t rc = loc_service_get_id(winreg, ®_dsid, ipc_flags); 620 621 if (rc != EOK) { 621 622 free(win); … … 624 625 625 626 async_sess_t *reg_sess = 626 loc_service_connect(reg_dsid, INTERFACE_COMPOSITOR, 0); 627 loc_service_connect(reg_dsid, INTERFACE_COMPOSITOR, ipc_flags); 628 627 629 if (reg_sess == NULL) { 628 630 free(win); … … 639 641 } 640 642 641 win->osess = loc_service_connect(out_dsid, INTERFACE_COMPOSITOR, 0); 643 644 win->osess = loc_service_connect(out_dsid, INTERFACE_COMPOSITOR, ipc_flags); 645 642 646 if (win->osess == NULL) { 643 647 free(win); … … 645 649 } 646 650 647 win->isess = loc_service_connect(in_dsid, INTERFACE_COMPOSITOR, 0); 651 win->isess = loc_service_connect(in_dsid, INTERFACE_COMPOSITOR, ipc_flags); 652 648 653 if (win->isess == NULL) { 649 654 async_hangup(win->osess);
Note:
See TracChangeset
for help on using the changeset viewer.