fix annoying flicker when resizing window on X11

This commit is contained in:
camthehaxman 2024-01-24 09:26:28 -06:00
parent 959f00cc46
commit 0932dfc6f8

View File

@ -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