~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to include/X11/Xutil.h

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
                        All Rights Reserved
31
31
 
32
 
Permission to use, copy, modify, and distribute this software and its 
33
 
documentation for any purpose and without fee is hereby granted, 
 
32
Permission to use, copy, modify, and distribute this software and its
 
33
documentation for any purpose and without fee is hereby granted,
34
34
provided that the above copyright notice appear in all copies and that
35
 
both that copyright notice and this permission notice appear in 
 
35
both that copyright notice and this permission notice appear in
36
36
supporting documentation, and that the name of Digital not be
37
37
used in advertising or publicity pertaining to distribution of the
38
 
software without specific, written prior permission.  
 
38
software without specific, written prior permission.
39
39
 
40
40
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
41
41
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
55
55
#include <X11/Xlib.h>
56
56
#include <X11/keysym.h>
57
57
 
58
 
/* 
 
58
/*
59
59
 * Bitmask returned by XParseGeometry().  Each bit tells if the corresponding
60
60
 * value (x, y, width, height) was found in the parsed string.
61
61
 */
151
151
 
152
152
 
153
153
/*
154
 
 * new structure for manipulating TEXT properties; used with WM_NAME, 
 
154
 * new structure for manipulating TEXT properties; used with WM_NAME,
155
155
 * WM_ICON_NAME, WM_CLIENT_MACHINE, and WM_COMMAND.
156
156
 */
157
157
typedef struct {
262
262
   || ((KeySym)(keysym) == XK_Num_Lock))
263
263
#endif
264
264
/*
265
 
 * opaque reference to Region data type 
 
265
 * opaque reference to Region data type
266
266
 */
267
 
typedef struct _XRegion *Region; 
 
267
typedef struct _XRegion *Region;
268
268
 
269
269
/* Return values from XRectInRegion() */
270
 
 
 
270
 
271
271
#define RectangleOut 0
272
272
#define RectangleIn  1
273
273
#define RectanglePart 2
274
 
 
 
274
 
275
275
 
276
276
/*
277
277
 * Information used by the visual utility routines to find desired visual
452
452
    Display*            /* display */,
453
453
    Window              /* w */,
454
454
    XStandardColormap*  /* colormap_return */,
455
 
    Atom                /* property */                      
 
455
    Atom                /* property */
456
456
);
457
457
 
458
458
extern Status XGetTextProperty(
477
477
 
478
478
extern XWMHints *XGetWMHints(
479
479
    Display*            /* display */,
480
 
    Window              /* w */               
 
480
    Window              /* w */
481
481
);
482
482
 
483
483
extern Status XGetWMIconName(
496
496
    Display*            /* display */,
497
497
    Window              /* w */,
498
498
    XSizeHints*         /* hints_return */,
499
 
    long*               /* supplied_return */ 
 
499
    long*               /* supplied_return */
500
500
);
501
501
 
502
502
extern Status XGetWMSizeHints(
584
584
    Display*            /* display */,
585
585
    Window              /* w */,
586
586
    XIconSize*          /* size_list */,
587
 
    int                 /* count */    
 
587
    int                 /* count */
588
588
);
589
589
 
590
590
extern int XSetNormalHints(