"Fossies" - the Fresh Open Source Software Archive

Member "xscreensaver-6.01/driver/atoms.h" (20 May 2021, 1818 Bytes) of package /linux/misc/xscreensaver-6.01.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "atoms.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 6.00_vs_6.01.

    1 /* xscreensaver-command, Copyright © 1991-2021 Jamie Zawinski <jwz@jwz.org>
    2  *
    3  * Permission to use, copy, modify, distribute, and sell this software and its
    4  * documentation for any purpose is hereby granted without fee, provided that
    5  * the above copyright notice appear in all copies and that both that
    6  * copyright notice and this permission notice appear in supporting
    7  * documentation.  No representations are made about the suitability of this
    8  * software for any purpose.  It is provided "as is" without express or 
    9  * implied warranty.
   10  */
   11 
   12 #ifndef _XSCREENSAVER_ATOMS_H_
   13 #define _XSCREENSAVER_ATOMS_H_
   14 
   15 extern Atom XA_SCREENSAVER, XA_SCREENSAVER_VERSION, XA_SCREENSAVER_RESPONSE,
   16      XA_SCREENSAVER_ID, XA_SCREENSAVER_STATUS, XA_SELECT, XA_DEMO, XA_EXIT,
   17      XA_BLANK, XA_LOCK, XA_ACTIVATE, XA_SUSPEND, XA_NEXT, XA_PREV,
   18      XA_DEACTIVATE, XA_CYCLE, XA_RESTART, XA_PREFS,
   19      XA_NET_WM_PID, XA_NET_WM_STATE, XA_NET_WM_STATE_ABOVE,
   20      XA_NET_WM_STATE_FULLSCREEN, XA_NET_WM_BYPASS_COMPOSITOR,
   21      XA_NET_WM_STATE_STAYS_ON_TOP, XA_KDE_NET_WM_WINDOW_TYPE_OVERRIDE,
   22      XA_NET_WM_WINDOW_TYPE, XA_NET_WM_WINDOW_TYPE_SPLASH,
   23      XA_NET_WM_WINDOW_TYPE_DIALOG, XA_NET_WM_WINDOW_TYPE_NOTIFICATION,
   24      XA_NET_WM_WINDOW_TYPE_NORMAL;
   25 
   26 extern void init_xscreensaver_atoms (Display *dpy);
   27 extern void xscreensaver_set_wm_atoms (Display *, Window,
   28                                        int width, int height,
   29                                        Window for_window);
   30 
   31 /* You might think that to store an array of 32-bit quantities onto a
   32    server-side property, you would pass an array of 32-bit data quantities
   33    into XChangeProperty().  You would be wrong.  You have to use an array
   34    of longs, even if long is 64 bits (using 32 of each 64.)
   35  */
   36 typedef long PROP32;
   37 
   38 
   39 #endif /* _XSCREENSAVER_ATOMS_H_ */