mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
Inconsequential changes.
This commit is contained in:
parent
654cc35482
commit
372b763704
1 changed files with 5 additions and 7 deletions
|
@ -42,7 +42,6 @@ static __attribute__ ((unused)) const char rcsid[] =
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
|
@ -206,8 +205,7 @@ X11_OpenDisplay (void)
|
||||||
x_screen = DefaultScreen (x_disp);
|
x_screen = DefaultScreen (x_disp);
|
||||||
x_root = RootWindow (x_disp, x_screen);
|
x_root = RootWindow (x_disp, x_screen);
|
||||||
|
|
||||||
// for debugging only
|
XSynchronize (x_disp, true); // for debugging only
|
||||||
XSynchronize (x_disp, True);
|
|
||||||
|
|
||||||
x_disp_ref_count = 1;
|
x_disp_ref_count = 1;
|
||||||
} else {
|
} else {
|
||||||
|
@ -428,11 +426,11 @@ X11_Init_Cvars (void)
|
||||||
void
|
void
|
||||||
X11_CreateWindow (int width, int height)
|
X11_CreateWindow (int width, int height)
|
||||||
{
|
{
|
||||||
XSetWindowAttributes attr;
|
char *resname;
|
||||||
XClassHint *ClassHint;
|
|
||||||
XSizeHints *SizeHints;
|
|
||||||
char *resname;
|
|
||||||
unsigned long mask;
|
unsigned long mask;
|
||||||
|
XSetWindowAttributes attr;
|
||||||
|
XClassHint *ClassHint;
|
||||||
|
XSizeHints *SizeHints;
|
||||||
|
|
||||||
// window attributes
|
// window attributes
|
||||||
attr.background_pixel = 0;
|
attr.background_pixel = 0;
|
||||||
|
|
Loading…
Reference in a new issue