mirror of https://github.com/adamdruppe/arsd.git
the window registration is global, so make the local cache global too. but this still is not really thread safe so use caution
This commit is contained in:
parent
8ae959b7ce
commit
58ba664255
|
@ -7504,7 +7504,7 @@ version(Windows) {
|
||||||
// Mix this into the SimpleWindow class
|
// Mix this into the SimpleWindow class
|
||||||
mixin template NativeSimpleWindowImplementation() {
|
mixin template NativeSimpleWindowImplementation() {
|
||||||
int curHidden = 0; // counter
|
int curHidden = 0; // counter
|
||||||
static bool[string] knownWinClasses;
|
__gshared static bool[string] knownWinClasses;
|
||||||
static bool altPressed = false;
|
static bool altPressed = false;
|
||||||
|
|
||||||
HANDLE oldCursor;
|
HANDLE oldCursor;
|
||||||
|
|
Loading…
Reference in New Issue