whitespace mods

This commit is contained in:
Adam D. Ruppe 2017-04-15 08:38:38 -04:00
parent 9dd559b284
commit d7c19998c5
1 changed files with 473 additions and 490 deletions

View File

@ -8545,31 +8545,25 @@ KeySym XKeycodeToKeysym(
); );
int XConvertSelection(Display *display, Atom selection, Atom target, int XConvertSelection(Display *display, Atom selection, Atom target, Atom property, Window requestor, Time time);
Atom property, Window requestor, Time time);
int XFree(void*); int XFree(void*);
int XDeleteProperty(Display *display, Window w, Atom property); int XDeleteProperty(Display *display, Window w, Atom property);
int XChangeProperty(Display *display, Window w, Atom property, Atom int XChangeProperty(Display *display, Window w, Atom property, Atom type, int format, int mode, in void *data, int nelements);
type, int format, int mode, in void *data, int nelements);
int XGetWindowProperty(Display *display, Window w, Atom property, arch_long int XGetWindowProperty(Display *display, Window w, Atom property, arch_long
long_offset, arch_long long_length, Bool del, Atom req_type, Atom long_offset, arch_long long_length, Bool del, Atom req_type, Atom
*actual_type_return, int *actual_format_return, arch_ulong *actual_type_return, int *actual_format_return, arch_ulong
*nitems_return, arch_ulong *bytes_after_return, void** prop_return); *nitems_return, arch_ulong *bytes_after_return, void** prop_return);
int XSetSelectionOwner(Display *display, Atom selection, Window owner, int XSetSelectionOwner(Display *display, Atom selection, Window owner, Time time);
Time time);
Window XGetSelectionOwner(Display *display, Atom selection); Window XGetSelectionOwner(Display *display, Atom selection);
Display* XOpenDisplay(const char*); Display* XOpenDisplay(const char*);
int XCloseDisplay(Display*); int XCloseDisplay(Display*);
@ -8893,16 +8887,12 @@ struct XFontStruct {
uint direction; /* Direction the font is painted */ uint direction; /* Direction the font is painted */
uint min_char_or_byte2; /* First character */ uint min_char_or_byte2; /* First character */
uint max_char_or_byte2; /* Last character */ uint max_char_or_byte2; /* Last character */
uint min_byte1; /* First row that exists (for two-byte uint min_byte1; /* First row that exists (for two-byte fonts) */
* fonts) */ uint max_byte1; /* Last row that exists (for two-byte fonts) */
uint max_byte1; /* Last row that exists (for two-byte Bool all_chars_exist; /* Flag if all characters have nonzero size */
* fonts) */
Bool all_chars_exist; /* Flag if all characters have nonzero
* size */
uint default_char; /* Char to print for undefined character */ uint default_char; /* Char to print for undefined character */
int n_properties; /* How many properties there are */ int n_properties; /* How many properties there are */
XFontProp *properties; /* Pointer to array of additional XFontProp *properties; /* Pointer to array of additional properties*/
* properties*/
XCharStruct min_bounds; /* Minimum bounds over all existing char*/ XCharStruct min_bounds; /* Minimum bounds over all existing char*/
XCharStruct max_bounds; /* Maximum bounds over all existing char*/ XCharStruct max_bounds; /* Maximum bounds over all existing char*/
XCharStruct *per_char; /* first_char to last_char information */ XCharStruct *per_char; /* first_char to last_char information */
@ -9180,8 +9170,7 @@ int XDestroyWindow(
Window /* w */ Window /* w */
); );
int XDestroyImage( int XDestroyImage(XImage*);
XImage*);
int XSelectInput( int XSelectInput(
Display* /* display */, Display* /* display */,
@ -9240,19 +9229,13 @@ Status XGetWMNormalHints(Display *display, Window w, XSizeHints *hints, c_long*
/* Size hints mask bits */ /* Size hints mask bits */
enum USPosition = (1L << 0) /* user specified x, y */; enum USPosition = (1L << 0) /* user specified x, y */;
enum USSize = (1L << 1) /* user specified width, height enum USSize = (1L << 1) /* user specified width, height */;
*/; enum PPosition = (1L << 2) /* program specified position */;
enum PPosition = (1L << 2) /* program specified position
*/;
enum PSize = (1L << 3) /* program specified size */; enum PSize = (1L << 3) /* program specified size */;
enum PMinSize = (1L << 4) /* program specified minimum enum PMinSize = (1L << 4) /* program specified minimum size */;
size */; enum PMaxSize = (1L << 5) /* program specified maximum size */;
enum PMaxSize = (1L << 5) /* program specified maximum enum PResizeInc = (1L << 6) /* program specified resize increments */;
size */; enum PAspect = (1L << 7) /* program specified min and max aspect ratios */;
enum PResizeInc = (1L << 6) /* program specified resize
increments */;
enum PAspect = (1L << 7) /* program specified min and
max aspect ratios */;
enum PBaseSize = (1L << 8); enum PBaseSize = (1L << 8);
enum PWinGravity = (1L << 9); enum PWinGravity = (1L << 9);
enum PAllHints = (PPosition|PSize| PMinSize|PMaxSize| PResizeInc|PAspect); enum PAllHints = (PPosition|PSize| PMinSize|PMaxSize| PResizeInc|PAspect);