aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/w32term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 65028f75013..8f9aed2880a 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -453,7 +453,7 @@ x_set_frame_alpha (f)
453 ex_style = GetWindowLong (window, GWL_EXSTYLE); 453 ex_style = GetWindowLong (window, GWL_EXSTYLE);
454 454
455 if (opac == OPAQUE_FRAME) 455 if (opac == OPAQUE_FRAME)
456 ex_style ^= WS_EX_LAYERED; 456 ex_style &= ~WS_EX_LAYERED;
457 else 457 else
458 ex_style |= WS_EX_LAYERED; 458 ex_style |= WS_EX_LAYERED;
459 459