Skip to content

Commit f16d286

Browse files
committed
Fixed bug where composition isn't established correctly.
1 parent 31afd7d commit f16d286

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/browser/native_window_win.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,13 @@ void NativeWindowWin::Focus(bool focus) {
292292

293293
void NativeWindowWin::Show() {
294294
window_->Show();
295+
296+
// We have to re-establish our composition by shaking the compositing surface
297+
// TODO: Find a better way of doing this.
298+
if(IsTransparent()) {
299+
Maximize();
300+
Unmaximize();
301+
}
295302
}
296303

297304
void NativeWindowWin::Hide() {

0 commit comments

Comments
 (0)