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


Ignore:
Timestamp:
2025-02-08T03:10:38Z (6 days ago)
Author:
GitHub <noreply@…>
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)
Message:

Merge 9a664b6dd10624fd8da3c9a74ecc75ab40ba4863 into a7a16a2fd2fee7aed47cced53b3602609b317c8c

File:
1 edited

Legend:

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

    ra7a16a2f rc80dade  
    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.