diff options
| author | Jason Rumney | 2008-06-29 16:12:37 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-06-29 16:12:37 +0000 |
| commit | 4e179b19575bdcf0d02cbb040e72e7850e76bb09 (patch) | |
| tree | 43e1ef8b39664a18d793f9832669bffc5f12b9bf | |
| parent | a4521b032636e7c77128f45a622715d00b88811d (diff) | |
| download | emacs-4e179b19575bdcf0d02cbb040e72e7850e76bb09.tar.gz emacs-4e179b19575bdcf0d02cbb040e72e7850e76bb09.zip | |
(x_set_frame_alpha): Fix logic.
| -rw-r--r-- | src/w32term.c | 2 |
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 | ||