mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
X overlays crash fix from Vincent Cojot
This commit is contained in:
parent
eb8302170d
commit
652907bc58
1 changed files with 2 additions and 1 deletions
|
@ -436,9 +436,10 @@ X11_CreateWindow (int width, int height)
|
|||
|
||||
// window attributes
|
||||
attr.background_pixel = 0;
|
||||
attr.border_pixel = 0;
|
||||
attr.colormap = XCreateColormap (x_disp, x_root, x_vis, AllocNone);
|
||||
attr.event_mask = X_MASK;
|
||||
mask = CWBackPixel | CWColormap | CWEventMask;
|
||||
mask = CWBackPixel | CWBorderPixel | CWColormap | CWEventMask;
|
||||
|
||||
x_win = XCreateWindow (x_disp, x_root, 0, 0, width, height, 0,
|
||||
x_visinfo->depth, InputOutput, x_vis, mask, &attr);
|
||||
|
|
Loading…
Reference in a new issue