]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/nsterm.m (ns_set_frame_alpha): Enable alpha on GNUstep.
authorAlan Third <alan@idiocy.org>
Sat, 10 Jul 2021 14:47:00 +0000 (15:47 +0100)
committerAlan Third <alan@idiocy.org>
Mon, 26 Jul 2021 22:12:04 +0000 (23:12 +0100)
src/nsterm.m

index b9e2c9b691659cb7d6f945ddebd1137f6826aa53..c3122291a9a475c52efbd1623ff31572014e4d8d 100644 (file)
@@ -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
 }