annotate loader/wine/elfdll.h @ 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 4790fe65b11a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 24422
diff changeset
1 #ifndef MPLAYER_ELFDLL_H
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 24422
diff changeset
2 #define MPLAYER_ELFDLL_H
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 #include "module.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 #include "windef.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 WINE_MODREF *ELFDLL_LoadLibraryExA(LPCSTR libname, DWORD flags);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 HINSTANCE16 ELFDLL_LoadModule16(LPCSTR libname);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 void ELFDLL_UnloadLibrary(WINE_MODREF *wm);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 void *ELFDLL_dlopen(const char *libname, int flags);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 24422
diff changeset
13 #endif /* MPLAYER_ELFDLL_H */