mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 12:17:12 +00:00
x11: disable various features when embedding the window
This commit is contained in:
parent
ac54f10490
commit
f47269a074
@ -1222,9 +1222,11 @@ static void vo_x11_create_window(struct vo *vo, XVisualInfo *vis,
|
||||
NULL);
|
||||
}
|
||||
|
||||
vo_x11_set_wm_icon(x11);
|
||||
vo_x11_update_window_title(vo);
|
||||
vo_x11_dnd_init_window(vo);
|
||||
if (vo->opts->WinID >= 0) {
|
||||
vo_x11_set_wm_icon(x11);
|
||||
vo_x11_update_window_title(vo);
|
||||
vo_x11_dnd_init_window(vo);
|
||||
}
|
||||
|
||||
x11->atom_frame_exts = XA(x11, _NET_FRAME_EXTENTS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user