]> gitweb.factorcode.org Git - factor.git/commitdiff
windows.dropfiles: add startup hook to reset initialization status
authorAlexander Iljin <ajsoft@yandex.ru>
Thu, 24 Aug 2017 01:14:56 +0000 (04:14 +0300)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 22 Jan 2018 21:09:41 +0000 (13:09 -0800)
basis/windows/dropfiles/dropfiles.factor

index 8460856503c9feaed97c835904dcd4fce5dee515..4587e2e0de4bfb4f6bb888085ff6f4f87dc694ff 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2017-2018 Alexander Ilin.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors alien alien.data alien.libraries alien.strings
-continuations fry io.encodings.utf16n kernel literals math
+continuations fry init io.encodings.utf16n kernel literals math
 namespaces sequences ui.backend.windows ui.gadgets.worlds
 ui.gestures windows.messages windows.shell32 windows.types
 windows.user32 ;
@@ -61,3 +61,7 @@ IN: windows.dropfiles
 
 : reject-files ( -- )
     world get world-reject-files ;
+
+[
+    f \ init-message-filter set-global
+] "init-dropfiles" add-startup-hook