Changeset c80dade in mainline for uspace/lib/wndmgt/src/wndmgt_srv.c
- Timestamp:
- 2025-02-08T03:10:38Z (6 days ago)
- Parents:
- a7a16a2f (diff), 9a664b6d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Mohammed Q. Hussain <maastaar@…> (2025-02-08 03:10:38)
- git-committer:
- GitHub <noreply@…> (2025-02-08 03:10:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/wndmgt/src/wndmgt_srv.c
ra7a16a2f rc80dade 222 222 } 223 223 224 static void wndmgt_deactivate_window_srv(wndmgt_srv_t *srv, ipc_call_t *icall) 225 { 226 sysarg_t dev_id; 227 sysarg_t wnd_id; 228 errno_t rc; 229 230 dev_id = ipc_get_arg1(icall); 231 wnd_id = ipc_get_arg2(icall); 232 233 if (srv->ops->deactivate_window == NULL) { 234 async_answer_0(icall, ENOTSUP); 235 return; 236 } 237 238 rc = srv->ops->deactivate_window(srv->arg, dev_id, wnd_id); 239 async_answer_0(icall, rc); 240 } 241 224 242 static void wndmgt_close_window_srv(wndmgt_srv_t *srv, ipc_call_t *icall) 225 243 { … … 308 326 case WNDMGT_ACTIVATE_WINDOW: 309 327 wndmgt_activate_window_srv(srv, &call); 328 break; 329 case WNDMGT_DEACTIVATE_WINDOW: 330 wndmgt_deactivate_window_srv(srv, &call); 310 331 break; 311 332 case WNDMGT_CLOSE_WINDOW:
Note:
See TracChangeset
for help on using the changeset viewer.