fix windows
parent
653a74a314
commit
bcd5e72989
|
@ -537,14 +537,13 @@ SYMBOL: nc-buttons
|
||||||
COLOR_BTNFACE GetSysColor RGB>color ;
|
COLOR_BTNFACE GetSysColor RGB>color ;
|
||||||
|
|
||||||
: ?make-glass ( world hwnd -- )
|
: ?make-glass ( world hwnd -- )
|
||||||
over {
|
over window-controls>> textured-background swap memq? [
|
||||||
[ composition-enabled? ]
|
composition-enabled? [
|
||||||
[ window-controls>> textured-background swap memq? ]
|
full-window-margins DwmExtendFrameIntoClientArea drop
|
||||||
} 1&&
|
T{ rgba f 0.0 0.0 0.0 0.0 }
|
||||||
[
|
] [ drop system-background-color ] if >>background-color
|
||||||
full-window-margins DwmExtendFrameIntoClientArea drop
|
drop
|
||||||
T{ rgba f 0.0 0.0 0.0 0.0 }
|
] [ 2drop ] if ;
|
||||||
] [ system-background-color ] if >>background-color ;
|
|
||||||
|
|
||||||
: handle-wm-dwmcompositionchanged ( hWnd uMsg wParam lParam -- )
|
: handle-wm-dwmcompositionchanged ( hWnd uMsg wParam lParam -- )
|
||||||
3drop [ window ] keep ?make-glass ;
|
3drop [ window ] keep ?make-glass ;
|
||||||
|
|
Loading…
Reference in New Issue