From: Jason Rumney Date: Mon, 7 Jul 2008 10:59:46 +0000 (+0000) Subject: (WS_EX_LAYERED): Define if not already. X-Git-Tag: emacs-pretest-23.0.90~4303 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ec7e221c59747261cf621ab18e217e8f9721813f;p=emacs.git (WS_EX_LAYERED): Define if not already. --- diff --git a/src/ChangeLog b/src/ChangeLog index dbda1cf96e2..e60579f610e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-07-07 Jason Rumney + + * w32term.c (WS_EX_LAYERED): Define if not already. + 2008-07-06 Chong Yidong * xfaces.c (set_font_frame_param): Don't try to set the font diff --git a/src/w32term.c b/src/w32term.c index 8f9aed2880a..4133229e9fd 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -145,6 +145,11 @@ BOOL (PASCAL *pfnSetLayeredWindowAttributes) (HWND, COLORREF, BYTE, DWORD); #ifndef LWA_ALPHA #define LWA_ALPHA 0x02 #endif +/* WS_EX_LAYERED is defined unconditionally by MingW, but only for W2K and + later targets by MSVC headers. */ +#ifndef WS_EX_LAYERED +#define WS_EX_LAYERED 0x80000 +#endif /* Frame being updated by update_frame. This is declared in term.c. This is set by update_begin and looked at by all the