]> gitweb.factorcode.org Git - factor.git/commitdiff
tweak textured windows on windows
authorJoe Groff <arcata@gmail.com>
Thu, 24 Sep 2009 18:26:15 +0000 (13:26 -0500)
committerJoe Groff <arcata@gmail.com>
Thu, 24 Sep 2009 18:26:15 +0000 (13:26 -0500)
basis/ui/backend/windows/windows.factor

index cbfa9fa0f92447e1d2b46c36ab6404d0dcba4957..0e918aa856b391a6830ed4aef61ed1428c263680 100755 (executable)
@@ -230,6 +230,7 @@ SYMBOLS: msg-obj class-name-ptr mouse-captured ;
 CONSTANT: window-control>style
     H{
         { close-button 0 }
+        { textured-background 0 }
         { minimize-button $ WS_MINIMIZEBOX }
         { maximize-button $ WS_MAXIMIZEBOX }
         { resize-handles $ WS_THICKFRAME }
@@ -240,6 +241,7 @@ CONSTANT: window-control>style
 CONSTANT: window-control>ex-style
     H{
         { close-button 0 }
+        { textured-background 0 }
         { minimize-button 0 }
         { maximize-button 0 }
         { resize-handles $ WS_EX_WINDOWEDGE }
@@ -681,7 +683,7 @@ M: windows-ui-backend do-events
     SC_CLOSE MF_BYCOMMAND MF_GRAYED bitor EnableMenuItem drop ;
 
 : ?make-glass ( world hwnd -- )
-    swap { [ transparent?>> ] [ drop windows-major 6 >= ] } 0&&
+    swap { [ transparent?>> ] [ drop windows-major 6 >= ] } 1&&
     [ full-window-margins DwmExtendFrameIntoClientArea drop ]
     [ drop ] if ;