emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/ns/refactor 2fcd93d 08/10: * src/nsterm.m (ns_set_frame_alpha):


From: Alan Third
Subject: scratch/ns/refactor 2fcd93d 08/10: * src/nsterm.m (ns_set_frame_alpha): Enable alpha on GNUstep.
Date: Sat, 17 Jul 2021 08:23:43 -0400 (EDT)

branch: scratch/ns/refactor
commit 2fcd93d0fd5113abb3131762829fe1118cf72bb1
Author: Alan Third <alan@idiocy.org>
Commit: Alan Third <alan@idiocy.org>

    * src/nsterm.m (ns_set_frame_alpha): Enable alpha on GNUstep.
---
 src/nsterm.m | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/nsterm.m b/src/nsterm.m
index 18b6b9f..984464b 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -2261,12 +2261,10 @@ ns_set_frame_alpha (struct frame *f)
   else if (0.0 <= alpha && alpha < alpha_min && alpha_min <= 1.0)
     alpha = alpha_min;
 
-#ifdef NS_IMPL_COCOA
   {
     EmacsView *view = FRAME_NS_VIEW (f);
-  [[view window] setAlphaValue: alpha];
+    [[view window] setAlphaValue: alpha];
   }
-#endif
 }
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]