Changeset d5f4459 in mainline for uspace/lib/wndmgt/src/wndmgt.c


Ignore:
Timestamp:
2026-07-09T12:01:29Z (6 days ago)
Author:
GitHub <noreply@…>
Parents:
48cc66f (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@…> (2026-07-09 12:01:29)
git-committer:
GitHub <noreply@…> (2026-07-09 12:01:29)
Message:

Merge 9a664b6dd10624fd8da3c9a74ecc75ab40ba4863 into 48cc66faec96bc448eb5c1a946b6c0f2f7890b04

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/wndmgt/src/wndmgt.c

    r48cc66f rd5f4459  
    308308}
    309309
     310/** Deactivate (minimize) window.
     311 *
     312 * @param wndmgt Window management session
     313 * @param dev_id ID of input device belonging to seat whose
     314 *               focus is to be switched
     315 * @param wnd_id Window ID
     316 * @return EOK on success or an error code
     317 */
     318errno_t wndmgt_deactivate_window(wndmgt_t *wndmgt, sysarg_t dev_id,
     319    sysarg_t wnd_id)
     320{
     321        async_exch_t *exch;
     322        errno_t rc;
     323
     324        exch = async_exchange_begin(wndmgt->sess);
     325        rc = async_req_2_0(exch, WNDMGT_DEACTIVATE_WINDOW, dev_id,
     326            wnd_id);
     327
     328        async_exchange_end(exch);
     329        return rc;
     330}
     331
    310332/** Close window.
    311333 *
Note: See TracChangeset for help on using the changeset viewer.