xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

opaque.h (2532B)


      1 /*
      2 
      3 Copyright 1987, 1998  The Open Group
      4 
      5 Permission to use, copy, modify, distribute, and sell this software and its
      6 documentation for any purpose is hereby granted without fee, provided that
      7 the above copyright notice appear in all copies and that both that
      8 copyright notice and this permission notice appear in supporting
      9 documentation.
     10 
     11 The above copyright notice and this permission notice shall be included
     12 in all copies or substantial portions of the Software.
     13 
     14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
     15 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     16 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     17 IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
     18 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
     19 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
     20 OTHER DEALINGS IN THE SOFTWARE.
     21 
     22 Except as contained in this notice, the name of The Open Group shall
     23 not be used in advertising or otherwise to promote the sale, use or
     24 other dealings in this Software without prior written authorization
     25 from The Open Group.
     26 
     27 */
     28 
     29 #ifndef OPAQUE_H
     30 #define OPAQUE_H
     31 
     32 #include <X11/Xmd.h>
     33 
     34 #include "globals.h"
     35 
     36 extern _X_EXPORT int LimitClients;
     37 extern _X_EXPORT volatile char isItTimeToYield;
     38 extern _X_EXPORT volatile char dispatchException;
     39 
     40 /* bit values for dispatchException */
     41 #define DE_RESET     1
     42 #define DE_TERMINATE 2
     43 #define DE_PRIORITYCHANGE 4     /* set when a client's priority changes */
     44 
     45 extern _X_EXPORT int ScreenSaverBlanking;
     46 extern _X_EXPORT int ScreenSaverAllowExposures;
     47 extern _X_EXPORT int defaultScreenSaverBlanking;
     48 extern _X_EXPORT int defaultScreenSaverAllowExposures;
     49 extern _X_EXPORT const char *display;
     50 extern _X_EXPORT int displayfd;
     51 extern _X_EXPORT Bool explicit_display;
     52 
     53 extern _X_EXPORT Bool disableBackingStore;
     54 extern _X_EXPORT Bool enableBackingStore;
     55 extern _X_EXPORT Bool enableIndirectGLX;
     56 extern _X_EXPORT Bool PartialNetwork;
     57 extern _X_EXPORT Bool RunFromSigStopParent;
     58 
     59 #ifdef RLIMIT_DATA
     60 extern _X_EXPORT int limitDataSpace;
     61 #endif
     62 #ifdef RLIMIT_STACK
     63 extern _X_EXPORT int limitStackSpace;
     64 #endif
     65 #ifdef RLIMIT_NOFILE
     66 extern _X_EXPORT int limitNoFile;
     67 #endif
     68 extern _X_EXPORT Bool defeatAccessControl;
     69 extern _X_EXPORT long maxBigRequestSize;
     70 extern _X_EXPORT Bool party_like_its_1989;
     71 extern _X_EXPORT Bool whiteRoot;
     72 extern _X_EXPORT Bool bgNoneRoot;
     73 
     74 extern _X_EXPORT Bool CoreDump;
     75 extern _X_EXPORT Bool NoListenAll;
     76 
     77 #endif                          /* OPAQUE_H */