1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-05 12:53:49 -07:00

(FRAME_X_SCREEN_NUMBER): New macro.

This commit is contained in:
Gerd Moellmann 2001-04-06 16:59:10 +00:00
parent ab452f9902
commit 9d5361248c

View file

@ -611,6 +611,7 @@ struct x_output
/* This is the `Screen *' which frame F is on. */
#define FRAME_X_SCREEN(f) (FRAME_X_DISPLAY_INFO (f)->screen)
#define FRAME_X_SCREEN_NUMBER(f) XScreenNumberOfScreen (FRAME_X_SCREEN (f))
/* This is the Visual which frame F is on. */
#define FRAME_X_VISUAL(f) FRAME_X_DISPLAY_INFO (f)->visual