Skip to content

Commit ff18abc

Browse files
committed
Change Window type
1 parent 2cd5174 commit ff18abc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Flow.Launcher.Core/Resource/Theme.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ public void RefreshFrame()
149149
Methods.ExtendFrame(mainWindowSrc.Handle, margins);
150150

151151
// Remove OS minimizing/maximizing animation
152-
Methods.SetWindowAttribute(new WindowInteropHelper(mainWindow).Handle, DWMWINDOWATTRIBUTE.DWMWA_TRANSITIONS_FORCEDISABLED, 3);
152+
//Methods.SetWindowAttribute(new WindowInteropHelper(mainWindow).Handle, DWMWINDOWATTRIBUTE.DWMWA_TRANSITIONS_FORCEDISABLED, 3);
153153

154154
//Methods.SetWindowAttribute(new WindowInteropHelper(mainWindow).Handle, DWMWINDOWATTRIBUTE.DWMWA_BORDER_COLOR, 0x00FF0000);
155155
//Methods.SetWindowAttribute(new WindowInteropHelper(mainWindow).Handle, DWMWINDOWATTRIBUTE.DWMWA_SYSTEMBACKDROP_TYPE, 3);
156156
SetBlurForWindow();
157-
SetCornerForWindow();
157+
//SetCornerForWindow();
158158
}
159159

160160

Flow.Launcher/MainWindow.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
MinHeight="30"
1616
d:DataContext="{d:DesignInstance Type=vm:MainViewModel}"
1717
AllowDrop="True"
18-
AllowsTransparency="False"
19-
Background="#E12E2E2E"
18+
AllowsTransparency="True"
19+
Background="Transparent"
2020
Closing="OnClosing"
2121
Deactivated="OnDeactivated"
2222
Icon="Images/app.png"
@@ -34,7 +34,7 @@
3434
Topmost="True"
3535
Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
3636
WindowStartupLocation="Manual"
37-
WindowStyle="SingleBorderWindow"
37+
WindowStyle="None"
3838
mc:Ignorable="d">
3939
<!-- WindowChrome -->
4040
<WindowChrome.WindowChrome>

0 commit comments

Comments
 (0)