changeset 96423:0b2f64a1ff6e

(x_set_frame_alpha): Fix logic.
author Jason Rumney <jasonr@gnu.org>
date Sun, 29 Jun 2008 16:12:37 +0000
parents eeee65aef4f5
children 712b49aaccfd
files src/w32term.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;