aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2008-06-29 16:12:37 +0000
committerJason Rumney2008-06-29 16:12:37 +0000
commit4e179b19575bdcf0d02cbb040e72e7850e76bb09 (patch)
tree43e1ef8b39664a18d793f9832669bffc5f12b9bf /src
parenta4521b032636e7c77128f45a622715d00b88811d (diff)
downloademacs-4e179b19575bdcf0d02cbb040e72e7850e76bb09.tar.gz
emacs-4e179b19575bdcf0d02cbb040e72e7850e76bb09.zip
(x_set_frame_alpha): Fix logic.
Diffstat (limited to 'src')
-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