This file is indexed.

/usr/include/xview/fullscreen.h is in xviewg-dev 3.2p1.4-28.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/* @(#)fullscreen.h 20.29 93/06/28 	 */

/*
 *	(c) Copyright 1989 Sun Microsystems, Inc. Sun design patents 
 *	pending in the U.S. and foreign countries. See LEGAL NOTICE 
 *	file for terms of the license.
 */

#ifndef xview_fullscreen_DEFINED
#define xview_fullscreen_DEFINED

#include <xview/win_input.h>	/* needed for SV1 compat routines */
#include <xview/rect.h>		/* needed for SV1 compat routines */
#include <xview/cursor.h>	/* needed for SV1 compat routines */
#include <xview/window.h>	/* needed for SV1 compat routines */
#include <xview/generic.h>

/*
 **********************************************************************
 * PUBLIC #defines
 **********************************************************************
 */

#ifndef XV_ATTRIBUTES_ONLY
#define	FULLSCREEN		&xv_fullscreen_pkg
#endif				/* ~XV_ATTRIBUTES_ONLY */

/*
 * PRIVATE #defines
 */

#define	FULLSCREEN_ATTR(type, ordinal)	ATTR(ATTR_PKG_FULLSCREEN, type, ordinal)

/*
 * **********************************************************************
 * Typedefs, Enumerations, and Structures 
 * **********************************************************************
 */

#ifndef XV_ATTRIBUTES_ONLY

/*
 * Public typedefs
 */

typedef Xv_opaque Fullscreen;

/*
 * Public structures
 */

/*
 * struct fullscreen is For SunView 1 fullscreen compatibility only
 */

struct fullscreen {
    int             fs_windowfd;
    Rect            fs_screenrect;
    Xv_Window       fs_rootwindow;
    Inputmask       inputmask;	/* current mask */
    Xv_Cursor       cursor;	/* current cursor */
};

typedef struct {
    Xv_generic_struct parent;
    Xv_opaque       private_data;
    Xv_embedding    embedding_data;
    struct fullscreen fullscreen_struct;
} Xv_fullscreen;

#endif				/* ~XV_ATTRIBUTES_ONLY */

typedef enum {
    FULLSCREEN_SYNCHRONOUS  = 0,
    FULLSCREEN_ASYNCHRONOUS = 1
} Fullscreen_grab_mode;

typedef enum {
    /*
     * Public Attributes
     */
    FULLSCREEN_CURSOR_WINDOW =    FULLSCREEN_ATTR(ATTR_OPAQUE, 5),    /* CG- */
    FULLSCREEN_INPUT_WINDOW =     FULLSCREEN_ATTR(ATTR_OPAQUE, 10),   /* CG- */
    FULLSCREEN_PAINT_WINDOW =     FULLSCREEN_ATTR(ATTR_OPAQUE, 15),   /* CG- */
    FULLSCREEN_RECT =             FULLSCREEN_ATTR(ATTR_NO_VALUE, 20), /* -G- */
    FULLSCREEN_SYNC =             FULLSCREEN_ATTR(ATTR_INT, 25),      /* CGS */
    FULLSCREEN_ALLOW_SYNC_EVENT = FULLSCREEN_ATTR(ATTR_NO_VALUE, 30), /* --S */
    FULLSCREEN_ALLOW_EVENTS =     FULLSCREEN_ATTR(ATTR_OPAQUE, 32),   /* --S */
    FULLSCREEN_GRAB_KEYBOARD =    FULLSCREEN_ATTR(ATTR_BOOLEAN, 35),  /* CGS */
    FULLSCREEN_GRAB_POINTER =     FULLSCREEN_ATTR(ATTR_BOOLEAN, 40),  /* CGS */
    FULLSCREEN_GRAB_SERVER =      FULLSCREEN_ATTR(ATTR_BOOLEAN, 45),  /* CGS */
    FULLSCREEN_KEYBOARD_GRAB_PTR_MODE = 
				  FULLSCREEN_ATTR(ATTR_OPAQUE, 50),   /* CGS */
    FULLSCREEN_KEYBOARD_GRAB_KBD_MODE = 
				  FULLSCREEN_ATTR(ATTR_OPAQUE, 55),   /* CGS */
    FULLSCREEN_POINTER_GRAB_PTR_MODE = 
				  FULLSCREEN_ATTR(ATTR_OPAQUE, 60),   /* CGS */
    FULLSCREEN_POINTER_GRAB_KBD_MODE = 
				  FULLSCREEN_ATTR(ATTR_OPAQUE, 65),   /* CGS */
    FULLSCREEN_OWNER_EVENTS =     FULLSCREEN_ATTR(ATTR_BOOLEAN, 60)  /* CGS */
} Fullscreen_attr;

#define FULLSCREEN_ALLOW_ASYNC_EVENTS	FULLSCREEN_SYNC, FALSE	      /* --S */

/*
 * **********************************************************************
 * 
 * 
 * Globals **********************************************************************
 * 
 */

#ifndef XV_ATTRIBUTES_ONLY

/*
 * PUBLIC variables
 */

extern Xv_pkg   xv_fullscreen_pkg;

/*
 * PUBLIC functions
 */

EXTERN_FUNCTION (struct fullscreen *fullscreen_init, (Xv_Window window));
EXTERN_FUNCTION (int	fullscreen_set_cursor, (struct fullscreen *fs, Xv_Cursor cursor));
EXTERN_FUNCTION (int	fullscreen_set_inputmask, (struct fullscreen *fs, Inputmask *im));
EXTERN_FUNCTION (int	fullscreen_destroy, (struct fullscreen *fs));

/*
 * Global variables for debugging purposes
 */
extern int	fullscreendebug;
extern int	fullscreendebugserver;
extern int	fullscreendebugptr;
extern int	fullscreendebugkbd;


#endif				/* ~XV_ATTRIBUTES_ONLY */

#endif				/* ~xview_fullscreen_DEFINED */