From e294656cb11082a77f2e785fb55ddafa926bbc47 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 9 Oct 2014 18:28:37 +0200 Subject: client API: rename --input-x11-keyboard to --input-vo-keyboard Apparently we need this for Cocoa too. (The option was X11 specific in the hope that only X11 would need this hack.) --- video/out/x11_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/x11_common.c') diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 53b18ec5bb..79220d743f 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -1265,7 +1265,7 @@ static void vo_x11_map_window(struct vo *vo, struct mp_rect rc) LeaveWindowMask; if (mp_input_mouse_enabled(vo->input_ctx)) events |= PointerMotionMask | ButtonPressMask | ButtonReleaseMask; - if (mp_input_x11_keyboard_enabled(vo->input_ctx)) + if (mp_input_vo_keyboard_enabled(vo->input_ctx)) events |= KeyPressMask | KeyReleaseMask; vo_x11_selectinput_witherr(vo, x11->display, x11->window, events); XMapWindow(x11->display, x11->window); -- cgit v1.2.3