mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -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,
|
win_handle = XCreateWindow(win_display, win_rootWin, x, y, width, height,
|
||||||
0, win_visual.depth /* CopyFromParent*/, InputOutput, win_visual.visual,
|
0, win_visual.depth /* CopyFromParent*/, InputOutput, win_visual.visual,
|
||||||
CWColormap | CWEventMask | CWBackPixel | CWBorderPixel, &attributes);
|
CWColormap | CWEventMask, &attributes);
|
||||||
if (!win_handle) Logger_Abort("XCreateWindow failed");
|
if (!win_handle) Logger_Abort("XCreateWindow failed");
|
||||||
|
|
||||||
#ifdef CC_BUILD_XIM
|
#ifdef CC_BUILD_XIM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user