diff options
| author | Dmitry Antipov | 2013-10-02 16:08:27 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-10-02 16:08:27 +0400 |
| commit | 29bf4de47479ed29ef17736d0a5cadf7e8dae209 (patch) | |
| tree | e7dc0ef096e5b4ba8c5b018c7b2c8f5c2bfa8c7f /src/window.h | |
| parent | a30ddace90fb8921b2c40cdaf96e5af37d288f01 (diff) | |
| download | emacs-29bf4de47479ed29ef17736d0a5cadf7e8dae209.tar.gz emacs-29bf4de47479ed29ef17736d0a5cadf7e8dae209.zip | |
* window.h (struct window): Prefer enum text_cursor_kinds to int
for phys_cursor_type member. Move the latter, phys_cursor_width,
phys_cursor_ascent and phys_cursor_height under HAVE_WINDOW_SYSTEM.
* window.c (replace_window, make_window): Adjust users.
Diffstat (limited to 'src/window.h')
| -rw-r--r-- | src/window.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/window.h b/src/window.h index 6d2478ecaf9..cc4332ccf7f 100644 --- a/src/window.h +++ b/src/window.h | |||
| @@ -240,13 +240,19 @@ struct window | |||
| 240 | without pause. This is the position of last_point. */ | 240 | without pause. This is the position of last_point. */ |
| 241 | int last_cursor_vpos; | 241 | int last_cursor_vpos; |
| 242 | 242 | ||
| 243 | /* Cursor type and width of last cursor drawn on the window. | 243 | #ifdef HAVE_WINDOW_SYSTEM |
| 244 | Used for X and w32 frames; -1 initially. */ | 244 | |
| 245 | int phys_cursor_type, phys_cursor_width; | 245 | /* Cursor type of last cursor drawn on the window. */ |
| 246 | enum text_cursor_kinds phys_cursor_type; | ||
| 247 | |||
| 248 | /* Width of the cursor above. */ | ||
| 249 | int phys_cursor_width; | ||
| 246 | 250 | ||
| 247 | /* This is handy for undrawing the cursor. */ | 251 | /* This is handy for undrawing the cursor. */ |
| 248 | int phys_cursor_ascent, phys_cursor_height; | 252 | int phys_cursor_ascent, phys_cursor_height; |
| 249 | 253 | ||
| 254 | #endif /* HAVE_WINDOW_SYSTEM */ | ||
| 255 | |||
| 250 | /* Width of left and right fringes, in pixels. | 256 | /* Width of left and right fringes, in pixels. |
| 251 | A value of -1 means use frame values. */ | 257 | A value of -1 means use frame values. */ |
| 252 | int left_fringe_width; | 258 | int left_fringe_width; |