Merge pull request #1138 from camthehaxman/x11-flicker-fix

fix annoying flicker when resizing window on X11
This commit is contained in:
UnknownShadow200 2024-01-25 07:10:26 +11:00 committed by GitHub
commit 9c3158e258
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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