[gtk/wip/chergert/quartz4u: 103/120] macos: track opacity from toplevel window
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u: 103/120] macos: track opacity from toplevel window
- Date: Tue, 16 Jun 2020 19:39:35 +0000 (UTC)
commit b62b613543ea62429cc4e440a80768704dd96542
Author: Christian Hergert <chergert redhat com>
Date: Fri May 29 17:15:58 2020 -0700
macos: track opacity from toplevel window
gdk/macos/GdkMacosCairoView.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gdk/macos/GdkMacosCairoView.c b/gdk/macos/GdkMacosCairoView.c
index 7158f570ea..8f049e71f5 100644
--- a/gdk/macos/GdkMacosCairoView.c
+++ b/gdk/macos/GdkMacosCairoView.c
@@ -40,7 +40,9 @@
-(BOOL)isOpaque
{
- return NO;
+ if ([self window])
+ return [[self window] isOpaque];
+ return YES;
}
-(BOOL)isFlipped
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]