From: Gerd Moellmann Date: Fri, 6 Apr 2001 16:59:10 +0000 (+0000) Subject: (FRAME_X_SCREEN_NUMBER): New macro. X-Git-Tag: emacs-pretest-21.0.103~282 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9d5361248cce03ff651062740aef4debfc3ab40a;p=emacs.git (FRAME_X_SCREEN_NUMBER): New macro. --- diff --git a/src/xterm.h b/src/xterm.h index a4fd17ff9c7..9751619dd18 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -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