Mercurial > mplayer.hg
view tremor/FILES @ 34081:66c5a04a5c32
Fix cursor autohide functionality of the GUI.
There will only be calls to wsEvents() (through GUI_HANDLE_X_EVENT in
x11_common.c) which handles the cursor autohide, if there are X events
pending - which during normal playback isn't the case.
If you happen to have configured option use-filename-title, then there
will be periodical XStoreName() calls which trigger X events that keep
calling GUI_HANDLE_X_EVENT as a side effect.
To ensure recurring calls to the cursor autohide code in any case it has
been made a separate function which is called through GUI_HANDLE_EVENTS
now. GUI_HANDLE_EVENTS is periodically called by MPlayer.
Additionally, only show cursor in wsEvents() (and thereby enable
autohide) if it previously was hidden.
author | ib |
---|---|
date | Sat, 01 Oct 2011 15:09:09 +0000 |
parents | e9437f0553d1 |
children |
line wrap: on
line source
On the origin of the files: ========================== The code is a mixture of Tremor SVN Trunk r3989 (API, parser, part of math code) and December 2004 Trunk fetched from xiph.org's Subversion (mostly math). SVN Trunk r3989: ----------- backends.h block.c codebook.c codebook.h codec_internal.h config_types.h info.c ivorbiscodec.h lsp_lookup.h mapping0.c os.h registry.c registry.h res012.c sharedbook.c synthesis.c Dec 2004 SVN Trunk: ------------------ asm_arm.h COPYING floor0.c floor1.c mdct.c mdct.h mdct_lookup.h misc.h os_types.h window.c window.h window_lookup.h libogg 1.1.2: ------------ bitwise.c framing.c ogg.h Additional MPlayer-specific changes are contained in tremor.diff. This file should be updated with each modification of the Tremor code.