projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58b9c3a
)
macos: fix unmaximize opacity around edges of window
author
Christian Hergert
<christian@hergert.me>
Fri, 4 Feb 2022 03:21:59 +0000
(19:21 -0800)
committer
Christian Hergert
<christian@hergert.me>
Fri, 4 Feb 2022 03:26:16 +0000
(19:26 -0800)
gdk/macos/GdkMacosWindow.c
patch
|
blob
|
history
diff --git
a/gdk/macos/GdkMacosWindow.c
b/gdk/macos/GdkMacosWindow.c
index 750c21d966886308ef30395320477e7145bd6e7d..8dda79ab4d6495715d11c897580de113c3090431 100644
(file)
--- a/
gdk/macos/GdkMacosWindow.c
+++ b/
gdk/macos/GdkMacosWindow.c
@@
-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