summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-02 20:20:35 +0200
committerwm4 <wm4@nowhere>2014-06-02 20:20:35 +0200
commit58b070d17868843dd62226b406b7062687a01250 (patch)
tree9600f6ea7c3fdcebf1ca4a3fb8e9d6ed650cc8b9 /video/out/wayland_common.c
parentc56520f232da0aeb86b27e03052cc1c48ab19ce0 (diff)
downloadmpv-58b070d17868843dd62226b406b7062687a01250.tar.bz2
mpv-58b070d17868843dd62226b406b7062687a01250.tar.xz
wayland: remove stub for unimplemented function
Diffstat (limited to 'video/out/wayland_common.c')
-rw-r--r--video/out/wayland_common.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index f2e9d70928..19ddb16cbf 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -915,17 +915,6 @@ static void vo_wayland_ontop (struct vo *vo)
schedule_resize(wl, 0, wl->window.width, wl->window.height);
}
-static void vo_wayland_border (struct vo *vo)
-{
- /* wayland clienst have to do the decorations themself
- * (client side decorations) but there is no such code implement nor
- * do I plan on implementing something like client side decorations
- *
- * The only exception would be resizing on when clicking and dragging
- * on the border region of the window but this should be discussed at first
- */
-}
-
static void vo_wayland_fullscreen (struct vo *vo)
{
struct vo_wayland_state *wl = vo->wayland;
@@ -1114,10 +1103,6 @@ int vo_wayland_control (struct vo *vo, int *events, int request, void *arg)
case VOCTRL_ONTOP:
vo_wayland_ontop(vo);
return VO_TRUE;
- case VOCTRL_BORDER:
- vo_wayland_border(vo);
- *events |= VO_EVENT_RESIZE;
- return VO_TRUE;
case VOCTRL_GET_WINDOW_SIZE: {
int *s = arg;
s[0] = wl->window.width;