From 8ae959b7cedfc0ef9a809631462ffc194d9e4f35 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Wed, 14 Nov 2018 09:37:38 -0500 Subject: [PATCH] never set it to true! --- simpledisplay.d | 1 + 1 file changed, 1 insertion(+) diff --git a/simpledisplay.d b/simpledisplay.d index 1989577..b445b29 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -3449,6 +3449,7 @@ class NotificationAreaIcon : CapableOfHandlingNativeEvent { wc.lpszClassName = "arsd_simpledisplay_notification_icon"w.ptr; if(!RegisterClassExW(&wc)) throw new Exception("RegisterClass ");// ~ to!string(GetLastError())); + registered = true; } this.hwnd = CreateWindowW("arsd_simpledisplay_notification_icon"w.ptr, "test"w.ptr /* name */, 0 /* dwStyle */, 0, 0, 0, 0, HWND_MESSAGE, null, hInstance, null);