mirror of https://github.com/adamdruppe/arsd.git
Remove X11 flicker
This commit is contained in:
parent
44db7b9e41
commit
cd20cec8e7
|
@ -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);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue