mpv/video/out
nanahi 93708a9d38 w32_common: fix show-in-taskbar toggling after explorer is restarted
After explorer is restarted while show-in-taskbar is false, toggling
show-in-taskbar no longer puts mpv back to the taskbar until it's
unfocused and refocused.

My guess of how this works is that the HWND of the taskbar is cached,
and setting the WS_EX_TOOLWINDOW style internally uses this value to
show/hide the taskbar button. But after explorer is restarted it no
longer works until its taskbar state needs to change (such as focusing).
Only then it realizes the HWND is no longer valid and refreshes it.

Fix this by following MS documentation on this: the window needs to be
hidden before changing the style, and be shown after that. This
unfortunately can sometimes introduce a brief window flash, but it
fixes the problem.
2024-04-27 03:02:00 +02:00
..
d3d11 d3d11: disable IDXGIInfoQueue usage if dxgidebug.h is incomplete 2024-04-19 03:32:29 +02:00
gpu d3d11: disable IDXGIInfoQueue usage if dxgidebug.h is incomplete 2024-04-19 03:32:29 +02:00
gpu_next vo_gpu_next: fix -Wembedded-directive warning 2024-03-19 08:58:18 +01:00
hwdec various: fix -Wold-style-declaration warning 2024-03-19 08:58:18 +01:00
mac mac: make display-names unique to allow specific selection 2024-04-24 20:35:38 +02:00
opengl context_drm_egl: guard gbm_device on uninit 2024-04-18 14:57:01 -05:00
placebo video/out/placebo/utils: fix -Wignored-qualifiers warning 2024-03-19 08:58:18 +01:00
vulkan vf_gpu: vulkan and egl implementations 2024-04-27 01:08:22 +02:00
win32 vo: add win32 context menu support 2024-04-06 08:24:06 +02:00
wldmabuf various: add GPU context description 2024-04-18 16:28:21 +02:00
android_common.c video/out/android: assert WinID value before use 2023-06-03 17:07:43 +02:00
android_common.h vo: change vo_platform_init to bool 2023-01-08 20:42:42 +00:00
aspect.c aspect: remove unused multiplication 2023-10-23 00:10:42 +00:00
aspect.h aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
bitmap_packer.c video/out/bitmap_packer: Avoid empty initializer list 2019-11-18 16:50:21 +01:00
bitmap_packer.h bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
cocoa_cb_common.swift mac/log: rename log functions and cleanup class 2024-03-29 14:20:40 +01:00
dither.c dither: removed some unused code 2023-10-16 15:38:59 +00:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
dr_helper.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
dr_helper.h mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
drm_atomic.c drm: rewrite based around vo_drm_state 2023-01-21 17:08:29 +00:00
drm_atomic.h drm: rewrite based around vo_drm_state 2023-01-21 17:08:29 +00:00
drm_common.c various: use thread safe mp_strerror() 2024-03-19 19:30:27 +01:00
drm_common.h vo_drm: add support for YUYV format 2024-03-16 13:27:34 +01:00
drm_prime.c drm_prime: fallback to drmModeAddFB2 2020-05-08 21:26:25 +02:00
drm_prime.h drm_prime: double free bug 2020-03-05 18:12:57 +01:00
filter_kernels.c various: replace dead links in comments 2024-02-11 04:01:24 +00:00
filter_kernels.h vo_gpu: remove --scale-cutoff etc 2023-09-25 12:45:17 +02:00
libmpv.h vo: add `int flags` to the get_image signature 2023-01-23 14:13:34 +01:00
libmpv_sw.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
mac_common.swift mac/vulkan: add support for frame timing via presentation feedback 2024-04-10 19:14:20 +02:00
meson.build meson: rename all features with underscores 2023-08-20 21:13:37 +00:00
present_sync.c present_sync: remove unneeded clear_values function 2023-11-07 00:52:46 +00:00
present_sync.h present_sync: remove unneeded clear_values function 2023-11-07 00:52:46 +00:00
vo.c vo: move target_params into responsibility of VO 2024-03-16 13:27:34 +01:00
vo.h vo: add win32 context menu support 2024-04-06 08:24:06 +02:00
vo_caca.c vo: fully replace draw_image with draw_frame 2023-10-01 14:48:38 +00:00
vo_direct3d.c vo_direct3d: support video-target-params 2024-03-27 22:08:56 +01:00
vo_dmabuf_wayland.c vo_dmabuf_wayland: use wl_fixed_from_int when setting viewport source 2024-04-21 13:42:49 -05:00
vo_drm.c vo_{drm,wlshm}: make query_format checks more correct 2024-03-16 13:27:34 +01:00
vo_gpu.c vo_gpu: support video-target-params 2024-03-27 22:08:56 +01:00
vo_gpu_next.c vo_gpu_next: invalidate cache object if requested by libplacebo 2024-04-18 02:25:12 +02:00
vo_image.c image_writer: fix TOCTOU in screenshot filename generation 2024-03-19 19:30:27 +01:00
vo_kitty.c terminal: add terminal_set_mouse_input function 2024-04-18 01:03:33 +02:00
vo_lavc.c csputils: replace mp_colorspace with pl_color_space 2024-01-22 14:54:55 +00:00
vo_libmpv.c mac/apphub: migrate remaining events functionality to new AppHub 2024-03-24 23:03:48 +01:00
vo_mediacodec_embed.c hwdec: fix undeclared identifier in mediacodec_embed 2023-06-28 10:29:24 -07:00
vo_null.c timer: change mp_sleep_us to mp_sleep_ns 2023-10-10 19:10:55 +00:00
vo_sdl.c vo_sdl: support the focused property 2023-12-29 11:31:18 +01:00
vo_sixel.c terminal: add terminal_set_mouse_input function 2024-04-18 01:03:33 +02:00
vo_tct.c terminal: add terminal_set_mouse_input function 2024-04-18 01:03:33 +02:00
vo_vaapi.c csputils: replace mp_colorspace with pl_color_space 2024-01-22 14:54:55 +00:00
vo_vdpau.c vo: remove VOCTRL_SET_EQUALIZER and simplify into UPDATE_VIDEO 2024-02-17 18:56:20 +00:00
vo_wlshm.c vo_{drm,wlshm}: make query_format checks more correct 2024-03-16 13:27:34 +01:00
vo_x11.c vo_{drm,wlshm,x11}: add support for video-target-params 2024-03-16 13:27:34 +01:00
vo_xv.c vo_xv: support video-target-params 2024-03-27 22:08:56 +01:00
w32_common.c w32_common: fix show-in-taskbar toggling after explorer is restarted 2024-04-27 03:02:00 +02:00
w32_common.h w32_common: add function to control window transparency state 2024-02-17 16:06:33 +00:00
wayland_common.c wayland: fix segfault in surface_handle_enter due to memory read 2024-04-15 16:41:01 +00:00
wayland_common.h wayland: only perform a rescale if window is on one output 2024-04-14 17:09:31 +00:00
win_state.c win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
win_state.h win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
x11_common.c x11: always do a reset_size if geometry/autofit is updated at runtime 2024-04-18 17:40:16 +00:00
x11_common.h x11_common: fix window x/y position when updating geometry on runtime 2024-03-17 14:59:26 +00:00