mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-21 10:51:06 +00:00
Fix compilation without DGA.
This commit is contained in:
parent
ab2e606eb6
commit
4565fd57c7
1 changed files with 4 additions and 0 deletions
|
@ -491,11 +491,15 @@ IN_Init(void)
|
|||
mouse_avail = 1;
|
||||
|
||||
/* Invisible cursor */
|
||||
#ifdef HAVE_DGA
|
||||
if (!in_dgamouse->value)
|
||||
{
|
||||
#endif
|
||||
CreateNullCursor(x_disp, x_win);
|
||||
XDefineCursor(x_disp, x_win, nullcursor);
|
||||
#ifdef HAVE_DGA
|
||||
}
|
||||
#endif
|
||||
|
||||
x11_add_event(KeyPress, &event_key);
|
||||
x11_add_event(KeyRelease, &event_key);
|
||||
|
|
Loading…
Reference in a new issue