mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 16:50:48 +00:00
fix for Bug #105221 though it seems repeats were ignored anyway. this was done
by backporting the glx/x11 changes from nuq
This commit is contained in:
parent
b88799880f
commit
9ece49b4e8
9 changed files with 232 additions and 281 deletions
|
@ -349,8 +349,6 @@ extern cvar_t *m_yaw;
|
|||
extern cvar_t *m_forward;
|
||||
extern cvar_t *m_side;
|
||||
|
||||
extern cvar_t *_windowed_mouse;
|
||||
|
||||
extern cvar_t *name;
|
||||
|
||||
|
||||
|
|
|
@ -33,10 +33,15 @@
|
|||
|
||||
#include <qtypes.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
void GetEvent( void );
|
||||
|
||||
extern Display *x_disp;
|
||||
extern int x_screen;
|
||||
extern Window x_root;
|
||||
extern XVisualInfo *x_visinfo;
|
||||
extern Visual *x_vis;
|
||||
extern Window x_win;
|
||||
extern qboolean doShm;
|
||||
extern int x_shmeventtype;
|
||||
|
@ -48,5 +53,10 @@ void x11_process_event( void );
|
|||
void x11_process_events( void );
|
||||
void x11_open_display( void );
|
||||
void x11_close_display( void );
|
||||
void x11_create_null_cursor(void);
|
||||
void x11_set_vidmode(int width, int height);
|
||||
void x11_restore_vidmode(void);
|
||||
void x11_create_window(int width, int height);
|
||||
void x11_grab_keyboard(void);
|
||||
|
||||
#endif // __CONTEXT_X11_H__
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#include "cvar.h"
|
||||
|
||||
extern cvar_t *vid_dga_mouseaccel;
|
||||
|
||||
/*
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#define _INPUT_H
|
||||
|
||||
#include "protocol.h"
|
||||
#include "cvar.h"
|
||||
|
||||
#define freelook (in_mlook.state&1 || cl_freelook->value)
|
||||
|
||||
|
@ -49,4 +50,6 @@ void IN_Move (usercmd_t *cmd);
|
|||
void IN_ModeChanged (void);
|
||||
// called whenever screen dimensions change
|
||||
|
||||
extern cvar_t *_windowed_mouse;
|
||||
|
||||
#endif // _INPUT_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue