forked from AuroraMiddleware/gtk
macos: fix unmaximize opacity around edges of window
This commit is contained in:
parent
58b9c3a6d4
commit
8112b49c36
@ -214,7 +214,14 @@ typedef NSString *CALayerContentsGravity;
|
||||
* as we are leaving maximized state.
|
||||
*/
|
||||
if ((style_mask & NSWindowStyleMaskTitled) == 0 && [self isOpaque])
|
||||
[self setOpaque:NO];
|
||||
{
|
||||
GdkSurface *surface = GDK_SURFACE ([self gdkSurface]);
|
||||
|
||||
[self setOpaque:NO];
|
||||
|
||||
/* Force updating of various styling, regions, etc */
|
||||
_gdk_surface_update_size (surface);
|
||||
}
|
||||
}
|
||||
|
||||
-(void)windowDidMove:(NSNotification *)aNotification
|
||||
|
Loading…
Reference in New Issue
Block a user