diff options
| author | Daniel Colascione | 2012-08-31 22:38:52 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2012-08-31 22:38:52 -0800 |
| commit | 17a2cbbd76385d0be8a4b28974e64f4debf459c1 (patch) | |
| tree | c9d9f61e8580269679c9583ee94ccd812cca5790 /src/w32term.h | |
| parent | c650a5dec69902c684c5333befd35da6c518c5e0 (diff) | |
| download | emacs-17a2cbbd76385d0be8a4b28974e64f4debf459c1.tar.gz emacs-17a2cbbd76385d0be8a4b28974e64f4debf459c1.zip | |
Refactor window-system configuration
This change streamlines the window system selection code in
configure.in and moves many common function declarations from
window-specific headers to frame.h. It introduces a new TERM_HEADER
macro in config.h: we set this macro to the right header to use for
the window system for which we're compiling Emacs and have source
files include it indirectly. This way, we don't have to teach every
file about every window system.
Diffstat (limited to 'src/w32term.h')
| -rw-r--r-- | src/w32term.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.h b/src/w32term.h index 6fc2beeb18c..5d756f435e4 100644 --- a/src/w32term.h +++ b/src/w32term.h | |||
| @@ -342,7 +342,7 @@ extern struct w32_output w32term_display; | |||
| 342 | 342 | ||
| 343 | /* Return the window associated with the frame F. */ | 343 | /* Return the window associated with the frame F. */ |
| 344 | #define FRAME_W32_WINDOW(f) ((f)->output_data.w32->window_desc) | 344 | #define FRAME_W32_WINDOW(f) ((f)->output_data.w32->window_desc) |
| 345 | #define FRAME_X_WINDOW(f) ((f)->output_data.w32->window_desc) | 345 | #define FRAME_X_WINDOW(f) FRAME_W32_WINDOW (f) |
| 346 | 346 | ||
| 347 | #define FRAME_FONT(f) ((f)->output_data.w32->font) | 347 | #define FRAME_FONT(f) ((f)->output_data.w32->font) |
| 348 | #define FRAME_FONTSET(f) ((f)->output_data.w32->fontset) | 348 | #define FRAME_FONTSET(f) ((f)->output_data.w32->fontset) |