Remove X11 flicker

This commit is contained in:
Adam D. Ruppe 2022-02-15 12:39:30 -05:00
parent 44db7b9e41
commit cd20cec8e7
1 changed files with 2 additions and 1 deletions

View File

@ -14161,7 +14161,8 @@ mixin DynamicLoad!(XRandr, "Xrandr", 2, XRandrLibrarySuccessfullyLoaded) XRandrL
window = XCreateWindow(display, (windowType != WindowTypes.nestedChild || parent is null) ? root : parent.impl.window,
0, 0, width, height,
0, CopyFromParent, 1 /* InputOutput */, cast(Visual*) CopyFromParent, CWColormap | CWBackPixel | CWBorderPixel | CWOverrideRedirect, &swa);
// I'm commenting that CWBackPixel thing just because it actually causes flicker for no apparent benefit.
0, CopyFromParent, 1 /* InputOutput */, cast(Visual*) CopyFromParent, CWColormap /*| CWBackPixel*/ | CWBorderPixel | CWOverrideRedirect, &swa);