diff options
| author | Jason Rumney | 2008-07-07 10:59:46 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-07-07 10:59:46 +0000 |
| commit | ec7e221c59747261cf621ab18e217e8f9721813f (patch) | |
| tree | 80ea0116ab20b22c0b943279aeb97d981c3ef36d /src | |
| parent | 3feeda55b3e3e624d82db69d4c5e5ffd0d25c0c9 (diff) | |
| download | emacs-ec7e221c59747261cf621ab18e217e8f9721813f.tar.gz emacs-ec7e221c59747261cf621ab18e217e8f9721813f.zip | |
(WS_EX_LAYERED): Define if not already.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/w32term.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index dbda1cf96e2..e60579f610e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-07-07 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32term.c (WS_EX_LAYERED): Define if not already. | ||
| 4 | |||
| 1 | 2008-07-06 Chong Yidong <cyd@stupidchicken.com> | 5 | 2008-07-06 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * xfaces.c (set_font_frame_param): Don't try to set the font | 7 | * 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); | |||
| 145 | #ifndef LWA_ALPHA | 145 | #ifndef LWA_ALPHA |
| 146 | #define LWA_ALPHA 0x02 | 146 | #define LWA_ALPHA 0x02 |
| 147 | #endif | 147 | #endif |
| 148 | /* WS_EX_LAYERED is defined unconditionally by MingW, but only for W2K and | ||
| 149 | later targets by MSVC headers. */ | ||
| 150 | #ifndef WS_EX_LAYERED | ||
| 151 | #define WS_EX_LAYERED 0x80000 | ||
| 152 | #endif | ||
| 148 | 153 | ||
| 149 | /* Frame being updated by update_frame. This is declared in term.c. | 154 | /* Frame being updated by update_frame. This is declared in term.c. |
| 150 | This is set by update_begin and looked at by all the | 155 | This is set by update_begin and looked at by all the |