Changes in uspace/lib/gui/window.c [2c7fdaa:10cb47e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.c
r2c7fdaa r10cb47e 591 591 } 592 592 593 window_t *window_open(const char *winreg, window_flags_t flags,594 const char *caption)593 window_t *window_open(const char *winreg, const void *data, 594 window_flags_t flags, const char *caption) 595 595 { 596 596 window_t *win = (window_t *) malloc(sizeof(window_t)); … … 604 604 fibril_mutex_initialize(&win->guard); 605 605 606 widget_init(&win->root, NULL );606 widget_init(&win->root, NULL, data); 607 607 win->root.window = win; 608 608 win->root.destroy = root_destroy; … … 623 623 } 624 624 625 async_sess_t *reg_sess = loc_service_connect(EXCHANGE_SERIALIZE,626 reg_dsid, 0);625 async_sess_t *reg_sess = 626 loc_service_connect(reg_dsid, INTERFACE_COMPOSITOR, 0); 627 627 if (reg_sess == NULL) { 628 628 free(win); … … 639 639 } 640 640 641 win->osess = loc_service_connect( EXCHANGE_SERIALIZE, out_dsid, 0);641 win->osess = loc_service_connect(out_dsid, INTERFACE_COMPOSITOR, 0); 642 642 if (win->osess == NULL) { 643 643 free(win); … … 645 645 } 646 646 647 win->isess = loc_service_connect( EXCHANGE_SERIALIZE, in_dsid, 0);647 win->isess = loc_service_connect(in_dsid, INTERFACE_COMPOSITOR, 0); 648 648 if (win->isess == NULL) { 649 649 async_hangup(win->osess);
Note:
See TracChangeset
for help on using the changeset viewer.