mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 17:17:09 -04:00
fix annoying flicker when resizing window on X11
This commit is contained in:
parent
959f00cc46
commit
0932dfc6f8
@ -304,7 +304,7 @@ static void DoCreateWindow(int width, int height) {
|
||||
|
||||
win_handle = XCreateWindow(win_display, win_rootWin, x, y, width, height,
|
||||
0, win_visual.depth /* CopyFromParent*/, InputOutput, win_visual.visual,
|
||||
CWColormap | CWEventMask | CWBackPixel | CWBorderPixel, &attributes);
|
||||
CWColormap | CWEventMask, &attributes);
|
||||
if (!win_handle) Logger_Abort("XCreateWindow failed");
|
||||
|
||||
#ifdef CC_BUILD_XIM
|
||||
|
Loading…
x
Reference in New Issue
Block a user