1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 10:32:15 +00:00
mpv/video
wm4 19f101db68 x11: implement window dragging by grabbing
We don't check whether the WM supports _NET_WM_MOVERESIZE_MOVE, but
if it doesn't, nothing bad happens. There might be a race condition
when pressing a button, and then moving the mouse and releasing the
button at the same time; then the WM might get the message to initiate
moving the window after the mouse button has been released, in which
case the result will probably be annoying. This could possibly be fixed
by sending _NET_WM_MOVERESIZE_CANCEL on button release, but on the
other hand, we probably won't receive a button release event in this
situation, so ignore this problem.

The dragging is initiated only when moving the mouse pointer after a
click in order to reduce annoying behavior when the user is e.g.
doubleclicking.

Closes #608.
2014-03-18 20:43:45 +01:00
..
decode vaapi: make struct va_surface private 2014-03-17 18:22:35 +01:00
filter vaapi: make struct va_surface private 2014-03-17 18:22:35 +01:00
out x11: implement window dragging by grabbing 2014-03-18 20:43:45 +01:00
csputils.c csputils: provide string descriptions of chroma locations 2014-02-16 03:51:02 +01:00
csputils.h csputils: provide string descriptions of chroma locations 2014-02-16 03:51:02 +01:00
fmt-conversion.c video: fix FFmpeg or Libav being a special snowflake 2014-03-16 16:23:12 +01:00
fmt-conversion.h Take care of some libavutil deprecations, drop support for FFmpeg 1.0 2013-11-29 17:39:57 +01:00
hwdec.h video: move struct mp_hwdec_info into its own header file 2013-11-23 21:26:31 +01:00
image_writer.c image_writer: use new AVFrame API 2014-03-16 13:19:29 +01:00
image_writer.h image_writer: mp_msg conversions 2013-12-21 20:50:10 +01:00
img_format.c vdpau: remove legacy pixel formats 2014-03-17 18:21:11 +01:00
img_format.h vdpau: remove legacy pixel formats 2014-03-17 18:21:11 +01:00
img_fourcc.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
memcpy_pic.h memcpy_pic: reformat 2013-11-06 20:27:13 +01:00
mp_image_pool.c mp_image_pool: add features needed for use with hwaccel 2014-03-17 18:21:29 +01:00
mp_image_pool.h mp_image_pool: add features needed for use with hwaccel 2014-03-17 18:21:29 +01:00
mp_image.c video: change image format from unsigned int to int in some places 2014-03-17 18:19:57 +01:00
mp_image.h video: change image format from unsigned int to int in some places 2014-03-17 18:19:57 +01:00
sws_utils.c sws_utils: mp_msg conversions 2013-12-21 20:50:10 +01:00
sws_utils.h sws_utils: mp_msg conversions 2013-12-21 20:50:10 +01:00
vaapi.c vaapi: solve potential problem with ambiguous image formats 2014-03-17 18:23:24 +01:00
vaapi.h vaapi: make struct va_surface private 2014-03-17 18:22:35 +01:00
vdpau_functions.inc video: check profiles with hardware decoding 2013-11-01 17:33:33 +01:00
vdpau.c vdpau: remove legacy pixel formats 2014-03-17 18:21:11 +01:00
vdpau.h vdpau: remove legacy pixel formats 2014-03-17 18:21:11 +01:00
vfcap.h video: remove --flip 2013-12-05 22:58:54 +01:00