emacs-diffs
[Top][All Lists]
Advanced

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

master 0b54632 1/4: * src/nsterm.m (ns_set_frame_alpha): Enable alpha on


From: Alan Third
Subject: master 0b54632 1/4: * src/nsterm.m (ns_set_frame_alpha): Enable alpha on GNUstep.
Date: Mon, 26 Jul 2021 18:18:05 -0400 (EDT)

branch: master
commit 0b54632013c07f89625c6abe2b26d787618025aa
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 b9e2c9b..c312229 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -2433,12 +2433,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]