diff src/w32term.c @ 96423:0b2f64a1ff6e

(x_set_frame_alpha): Fix logic.
author Jason Rumney <jasonr@gnu.org>
date Sun, 29 Jun 2008 16:12:37 +0000
parents 4b6d1b55f59c
children 3855b66380c9
line wrap: on
line diff
--- a/src/w32term.c	Sun Jun 29 16:12:15 2008 +0000
+++ b/src/w32term.c	Sun Jun 29 16:12:37 2008 +0000
@@ -453,7 +453,7 @@
   ex_style = GetWindowLong (window, GWL_EXSTYLE);
 
   if (opac == OPAQUE_FRAME)
-    ex_style ^= WS_EX_LAYERED;
+    ex_style &= ~WS_EX_LAYERED;
   else
     ex_style |= WS_EX_LAYERED;