1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 01:52:19 +00:00
mpv/player
NRK 25b66256d7 player: add window-id property
currently only supported on x11.

one practical use-case of this is wanting to embed something (such as
dmenu) into the mpv window to use as a menu/selection. there might be
other use-cases as well (e.g doing some shenanigans with `xdotool` or
whatnot).

it's currently possible to:

* listen for 'current-window-scale' change (to check if the
  window has been created or not)
* call an external tool like `xdo` or `xdotool` and grab the xid
  from mpv's pid.

however it adds unnecessary dependency on external tools when mpv is
fully capable of easily providing this information.

closes: #10918
2022-12-05 02:03:25 +00:00
..
javascript js: key bindings: ensure priorities for same-key - again 2022-06-23 17:16:33 +03:00
lua osc: don't spam window-controls bindings on every render 2022-11-29 16:40:36 +00:00
audio.c audio: add AOCONTROL_UPDATE_MEDIA_ROLE 2022-09-10 12:32:52 -07:00
client.c various: fix typos 2022-04-25 09:07:18 -04:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c player: add window-id property 2022-12-05 02:03:25 +00:00
command.h player: make deprecated track/chapter/metadata events internal 2021-12-15 12:29:10 +01:00
configfiles.c options: add watch-later-options 2021-07-21 13:19:28 +00:00
core.h player/video: add VOCTRL_CONTENT_TYPE 2022-11-15 23:18:55 +00:00
external_files.c player: add tiff/tif (TIFF) to list of image extensions 2022-06-07 06:28:34 -04:00
external_files.h player: add automatic loading of external cover art files 2020-09-28 00:12:52 +02:00
javascript.c js: utils.get_user_path: make wrapper of expand-path 2022-02-04 12:53:16 +02:00
loadfile.c filters: lavfi: allow hwdec_interop selection for filters 2022-09-21 09:39:34 -07:00
lua.c lua: avoid rare memory leak in mp.join_path 2022-05-12 17:15:37 +03:00
main.c player/main: log libplacebo version if built with it 2022-11-15 21:41:22 +02:00
misc.c player/video: add VOCTRL_CONTENT_TYPE 2022-11-15 23:18:55 +00:00
osd.c various: fix typos 2022-04-25 09:07:18 -04:00
playloop.c player/video: add VOCTRL_CONTENT_TYPE 2022-11-15 23:18:55 +00:00
screenshot.c screenshot: add --screenshot-sw option 2020-10-05 00:16:46 +02:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c player/scripting: fix use-after-free when loading script folders 2021-04-08 23:47:35 +03:00
sub.c sub: align ytdl-hook secondary subs to the top 2021-08-11 18:15:35 +00:00
video.c player/video: add VOCTRL_CONTENT_TYPE 2022-11-15 23:18:55 +00:00