]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_frame_alpha): Fix logic.
authorJason Rumney <jasonr@gnu.org>
Sun, 29 Jun 2008 16:12:37 +0000 (16:12 +0000)
committerJason Rumney <jasonr@gnu.org>
Sun, 29 Jun 2008 16:12:37 +0000 (16:12 +0000)
src/w32term.c

index 65028f7501378b3d166d3be790c3203f95d8be5e..8f9aed2880a71030d953b74e5935f5e089ff8ce1 100644 (file)
@@ -453,7 +453,7 @@ x_set_frame_alpha (f)
   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;