| The Following 20 Users Say Thank You to Hariainm For This Useful Post: | ||
mplayer -vo x11 -framedrop -fs [filename]
| The Following 3 Users Say Thank You to lanwellon For This Useful Post: | ||
Index: libvo/x11_common.c
===================================================================
--- libvo/x11_common.c (revision 34173)
+++ libvo/x11_common.c (working copy)
@@ -87,7 +87,7 @@
static int orig_layer = 0;
static int old_gravity = NorthWestGravity;
-int stop_xscreensaver = 1;
+int stop_xscreensaver = 0;
static int dpms_disabled = 0;
@@ -1089,7 +1089,7 @@
XWindowAttributes attribs;
XGetWindowAttributes(mDisplay, vo_window, &attribs);
vo_x11_selectinput_witherr(mDisplay, vo_window,
- attribs.your_event_mask | ExposureMask);
+ attribs.your_event_mask | ExposureMask | KeyPressMask);
} else
// Do not capture events since it might break the parent application
// if it relies on events being forwarded to the parent of WinID.
| The Following User Says Thank You to yuvaraj For This Useful Post: | ||