mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-11 09:20:51 +00:00
(clipboard_sequence_fn): New variable.
(globals_of_w32fns): Initialize it.
This commit is contained in:
parent
0390f99158
commit
ccc0fdaa3e
14
src/w32fns.c
14
src/w32fns.c
@ -257,11 +257,11 @@ static unsigned mouse_move_timer = 0;
|
||||
/* Window that is tracking the mouse. */
|
||||
static HWND track_mouse_window;
|
||||
|
||||
typedef BOOL (WINAPI * TrackMouseEvent_Proc) (
|
||||
IN OUT LPTRACKMOUSEEVENT lpEventTrack
|
||||
);
|
||||
typedef BOOL (WINAPI * TrackMouseEvent_Proc)
|
||||
(IN OUT LPTRACKMOUSEEVENT lpEventTrack);
|
||||
|
||||
TrackMouseEvent_Proc track_mouse_event_fn=NULL;
|
||||
TrackMouseEvent_Proc track_mouse_event_fn = NULL;
|
||||
ClipboardSequence_Proc clipboard_sequence_fn = NULL;
|
||||
|
||||
/* W95 mousewheel handler */
|
||||
unsigned int msh_mousewheel = 0;
|
||||
@ -14487,7 +14487,11 @@ void globals_of_w32fns ()
|
||||
TrackMouseEvent not available in all versions of Windows, so must load
|
||||
it dynamically. Do it once, here, instead of every time it is used.
|
||||
*/
|
||||
track_mouse_event_fn = (TrackMouseEvent_Proc) GetProcAddress (user32_lib, "TrackMouseEvent");
|
||||
track_mouse_event_fn = (TrackMouseEvent_Proc)
|
||||
GetProcAddress (user32_lib, "TrackMouseEvent");
|
||||
/* ditto for GetClipboardSequenceNumber. */
|
||||
clipboard_sequence_fn = (ClipboardSequence_Proc)
|
||||
GetProcAddress (user32_lib, "GetClipboardSequenceNumber");
|
||||
}
|
||||
|
||||
/* Initialize image types. Based on which libraries are available. */
|
||||
|
Loading…
Reference in New Issue
Block a user