# HG changeset patch
# User Jason Rumney <jasonr@gnu.org>
# Date 1214755957 0
# Node ID 0b2f64a1ff6eece298976d7a413d248c5b2927ef
# Parent  eeee65aef4f5961786415b02373926be9e04f7bf
(x_set_frame_alpha): Fix logic.

diff -r eeee65aef4f5 -r 0b2f64a1ff6e src/w32term.c
--- 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;