changeset 37254:9ace5acd0d74

(FRAME_X_SCREEN_NUMBER): New macro.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 06 Apr 2001 16:59:10 +0000
parents 7c3a00620335
children ff709975abaf
files src/xterm.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.h	Fri Apr 06 16:58:44 2001 +0000
+++ b/src/xterm.h	Fri Apr 06 16:59:10 2001 +0000
@@ -611,6 +611,7 @@
 
 /* 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