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


Ignore:
Timestamp:
2024-06-29T18:46:37Z (5 days ago)
Author:
GitHub <noreply@…>
Parents:
e3997a8 (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@…> (2024-06-29 18:46:37)
git-committer:
GitHub <noreply@…> (2024-06-29 18:46:37)
Message:

Merge 9a664b6dd10624fd8da3c9a74ecc75ab40ba4863 into e3997a897c134db63e3b799a0b3885fb90fd2731

File:
1 edited

Legend:

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

    re3997a8 ra3086a4  
    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.