From: Jason Rumney Date: Sun, 29 Jun 2008 16:12:37 +0000 (+0000) Subject: (x_set_frame_alpha): Fix logic. X-Git-Tag: emacs-pretest-23.0.90~4398 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e179b19575bdcf0d02cbb040e72e7850e76bb09;p=emacs.git (x_set_frame_alpha): Fix logic. --- 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) 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;