Skip to content

Commit cba4197

Browse files
committed
Merge branch 'transparency' of https://github.com/trevorlinton/node-webkit into transparency
2 parents dbad8bc + f16d286 commit cba4197

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)