diff options
| author | Richard M. Stallman | 1994-05-02 00:48:12 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-02 00:48:12 +0000 |
| commit | f3942238d2e7fba57724b985a1ba3910cf692ea2 (patch) | |
| tree | 2ca6995b649ce2c4fb30505cb4e98d0220bbf0d9 /src | |
| parent | 43bca5d597ecba79b80f78f43f5726ce39a9b882 (diff) | |
| download | emacs-f3942238d2e7fba57724b985a1ba3910cf692ea2.tar.gz emacs-f3942238d2e7fba57724b985a1ba3910cf692ea2.zip | |
(struct x_display): New field size_hint_flags.
(x_mouse_grabbed): Declared.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.h | 46 |
1 files changed, 26 insertions, 20 deletions
diff --git a/src/xterm.h b/src/xterm.h index ae126a099f9..f671f2c1319 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -209,41 +209,44 @@ extern struct frame *x_top_window_to_frame (); | |||
| 209 | extern struct frame *x_focus_frame; | 209 | extern struct frame *x_focus_frame; |
| 210 | 210 | ||
| 211 | #ifdef HAVE_X11 | 211 | #ifdef HAVE_X11 |
| 212 | /* Variables associated with the X display screen this emacs is using. */ | 212 | /* Variables associated with the X display screen this emacs is using. */ |
| 213 | 213 | ||
| 214 | /* How many screens this X display has. */ | 214 | /* How many screens this X display has. */ |
| 215 | extern int x_screen_count; | 215 | extern int x_screen_count; |
| 216 | 216 | ||
| 217 | /* The vendor supporting this X server. */ | 217 | /* The vendor supporting this X server. */ |
| 218 | extern Lisp_Object Vx_vendor; | 218 | extern Lisp_Object Vx_vendor; |
| 219 | 219 | ||
| 220 | /* The vendor's release number for this X server. */ | 220 | /* The vendor's release number for this X server. */ |
| 221 | extern int x_release; | 221 | extern int x_release; |
| 222 | 222 | ||
| 223 | /* Height of this X screen in pixels. */ | 223 | /* Height of this X screen in pixels. */ |
| 224 | extern int x_screen_height; | 224 | extern int x_screen_height; |
| 225 | 225 | ||
| 226 | /* Height of this X screen in millimeters. */ | 226 | /* Height of this X screen in millimeters. */ |
| 227 | extern int x_screen_height_mm; | 227 | extern int x_screen_height_mm; |
| 228 | 228 | ||
| 229 | /* Width of this X screen in pixels. */ | 229 | /* Width of this X screen in pixels. */ |
| 230 | extern int x_screen_width; | 230 | extern int x_screen_width; |
| 231 | 231 | ||
| 232 | /* Width of this X screen in millimeters. */ | 232 | /* Width of this X screen in millimeters. */ |
| 233 | extern int x_screen_width_mm; | 233 | extern int x_screen_width_mm; |
| 234 | 234 | ||
| 235 | /* Does this X screen do backing store? */ | 235 | /* Does this X screen do backing store? */ |
| 236 | extern Lisp_Object Vx_backing_store; | 236 | extern Lisp_Object Vx_backing_store; |
| 237 | 237 | ||
| 238 | /* Does this X screen do save-unders? */ | 238 | /* Does this X screen do save-unders? */ |
| 239 | extern int x_save_under; | 239 | extern int x_save_under; |
| 240 | 240 | ||
| 241 | /* Number of planes for this screen. */ | 241 | /* Number of planes for this screen. */ |
| 242 | extern int x_screen_planes; | 242 | extern int x_screen_planes; |
| 243 | 243 | ||
| 244 | /* X Visual type of this screen. */ | 244 | /* X Visual type of this screen. */ |
| 245 | extern Lisp_Object Vx_screen_visual; | 245 | extern Lisp_Object Vx_screen_visual; |
| 246 | 246 | ||
| 247 | /* Mask of which mouse buttons are currently held down. */ | ||
| 248 | extern unsigned int x_mouse_grabbed; | ||
| 249 | |||
| 247 | #endif /* HAVE_X11 */ | 250 | #endif /* HAVE_X11 */ |
| 248 | 251 | ||
| 249 | enum text_cursor_kinds { | 252 | enum text_cursor_kinds { |
| @@ -263,17 +266,17 @@ struct x_display | |||
| 263 | /* Border width of the X window as known by the X window system. */ | 266 | /* Border width of the X window as known by the X window system. */ |
| 264 | int border_width; | 267 | int border_width; |
| 265 | 268 | ||
| 266 | /* Size of the X window in pixels. */ | 269 | /* Size of the X window in pixels. */ |
| 267 | int pixel_height, pixel_width; | 270 | int pixel_height, pixel_width; |
| 268 | 271 | ||
| 269 | /* Height of a line, in pixels. */ | 272 | /* Height of a line, in pixels. */ |
| 270 | int line_height; | 273 | int line_height; |
| 271 | 274 | ||
| 272 | #ifdef HAVE_X11 | 275 | #ifdef HAVE_X11 |
| 273 | /* The tiled border used when the mouse is out of the frame. */ | 276 | /* The tiled border used when the mouse is out of the frame. */ |
| 274 | Pixmap border_tile; | 277 | Pixmap border_tile; |
| 275 | 278 | ||
| 276 | /* Here are the Graphics Contexts for the default font. */ | 279 | /* Here are the Graphics Contexts for the default font. */ |
| 277 | GC normal_gc; /* Normal video */ | 280 | GC normal_gc; /* Normal video */ |
| 278 | GC reverse_gc; /* Reverse video */ | 281 | GC reverse_gc; /* Reverse video */ |
| 279 | GC cursor_gc; /* cursor drawing */ | 282 | GC cursor_gc; /* cursor drawing */ |
| @@ -338,7 +341,7 @@ struct x_display | |||
| 338 | buffer in the currently selected window in the frame */ | 341 | buffer in the currently selected window in the frame */ |
| 339 | char *icon_label; | 342 | char *icon_label; |
| 340 | 343 | ||
| 341 | /* Flag to set when the X window needs to be completely repainted. */ | 344 | /* Flag to set when the X window needs to be completely repainted. */ |
| 342 | int needs_exposure; | 345 | int needs_exposure; |
| 343 | 346 | ||
| 344 | /* What kind of text cursor is drawn in this window right now? | 347 | /* What kind of text cursor is drawn in this window right now? |
| @@ -383,6 +386,9 @@ struct x_display | |||
| 383 | 386 | ||
| 384 | /* This is the gravity value for the specified window position. */ | 387 | /* This is the gravity value for the specified window position. */ |
| 385 | int win_gravity; | 388 | int win_gravity; |
| 389 | |||
| 390 | /* The geometry flags for this window. */ | ||
| 391 | int size_hint_flags; | ||
| 386 | }; | 392 | }; |
| 387 | 393 | ||
| 388 | /* Get at the computed faces of an X window frame. */ | 394 | /* Get at the computed faces of an X window frame. */ |
| @@ -415,7 +421,7 @@ struct x_display | |||
| 415 | For highlighting, the two colors are exchanged. | 421 | For highlighting, the two colors are exchanged. |
| 416 | Face number 0 is unused. The low order byte of a glyph gives | 422 | Face number 0 is unused. The low order byte of a glyph gives |
| 417 | the character within the font. All fonts are assumed to be | 423 | the character within the font. All fonts are assumed to be |
| 418 | fixed width, and to have the same height and width. */ | 424 | fixed width, and to have the same height and width. */ |
| 419 | 425 | ||
| 420 | #ifdef HAVE_X11 | 426 | #ifdef HAVE_X11 |
| 421 | 427 | ||
| @@ -425,9 +431,9 @@ struct x_display | |||
| 425 | 431 | ||
| 426 | struct face | 432 | struct face |
| 427 | { | 433 | { |
| 428 | FONT_TYPE *font; /* Font info for specified font. */ | 434 | FONT_TYPE *font; /* Font info for specified font. */ |
| 429 | int fg; /* Unhighlighted foreground. */ | 435 | int fg; /* Unhighlighted foreground. */ |
| 430 | int bg; /* Unhighlighted background. */ | 436 | int bg; /* Unhighlighted background. */ |
| 431 | }; | 437 | }; |
| 432 | #endif /* X10 */ | 438 | #endif /* X10 */ |
| 433 | 439 | ||