Lines 140-145
Link Here
|
140 |
#include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */ |
140 |
#include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */ |
141 |
#include <X11/cursorfont.h> |
141 |
#include <X11/cursorfont.h> |
142 |
#include <X11/keysym.h> |
142 |
#include <X11/keysym.h> |
|
|
143 |
#include <X11/Xmd.h> |
143 |
|
144 |
|
144 |
#include "libafterstep.h" |
145 |
#include "libafterstep.h" |
145 |
|
146 |
|
Lines 458-463
Link Here
|
458 |
(tmp) = (one); (one) = (two); (two) = (tmp); \ |
459 |
(tmp) = (one); (one) = (two); (two) = (tmp); \ |
459 |
} while (0) |
460 |
} while (0) |
460 |
|
461 |
|
|
|
462 |
typedef struct _mwmhints { |
463 |
CARD32 flags; |
464 |
CARD32 functions; |
465 |
CARD32 decorations; |
466 |
INT32 input_mode; |
467 |
CARD32 status; |
468 |
} MWMHints; |
469 |
|
470 |
|
461 |
/* |
471 |
/* |
462 |
***************************************************************************** |
472 |
***************************************************************************** |
463 |
* NORMAL DEFINES |
473 |
* NORMAL DEFINES |
Lines 690-695
Link Here
|
690 |
#define Opt_scrollKeypress (1LU<<12) |
700 |
#define Opt_scrollKeypress (1LU<<12) |
691 |
#define Opt_transparent (1LU<<13) |
701 |
#define Opt_transparent (1LU<<13) |
692 |
#define Opt_transparent_sb (1LU<<14) |
702 |
#define Opt_transparent_sb (1LU<<14) |
|
|
703 |
#define Opt_borderLess (1LU<<15) |
693 |
|
704 |
|
694 |
/* place holder used for parsing command-line options */ |
705 |
/* place holder used for parsing command-line options */ |
695 |
#define Opt_Boolean (1LU<<31) |
706 |
#define Opt_Boolean (1LU<<31) |
Lines 778-783
Link Here
|
778 |
* divisible by 4 (num rect) |
789 |
* divisible by 4 (num rect) |
779 |
*/ |
790 |
*/ |
780 |
#define NGRX_PTS 1000 |
791 |
#define NGRX_PTS 1000 |
|
|
792 |
|
793 |
/* Motif window hints */ |
794 |
#define MWM_HINTS_FUNCTIONS (1L << 0) |
795 |
#define MWM_HINTS_DECORATIONS (1L << 1) |
796 |
#define MWM_HINTS_INPUT_MODE (1L << 2) |
797 |
#define MWM_HINTS_STATUS (1L << 3) |
798 |
/* bit definitions for MwmHints.functions */ |
799 |
#define MWM_FUNC_ALL (1L << 0) |
800 |
#define MWM_FUNC_RESIZE (1L << 1) |
801 |
#define MWM_FUNC_MOVE (1L << 2) |
802 |
#define MWM_FUNC_MINIMIZE (1L << 3) |
803 |
#define MWM_FUNC_MAXIMIZE (1L << 4) |
804 |
#define MWM_FUNC_CLOSE (1L << 5) |
805 |
/* bit definitions for MwmHints.decorations */ |
806 |
#define MWM_DECOR_ALL (1L << 0) |
807 |
#define MWM_DECOR_BORDER (1L << 1) |
808 |
#define MWM_DECOR_RESIZEH (1L << 2) |
809 |
#define MWM_DECOR_TITLE (1L << 3) |
810 |
#define MWM_DECOR_MENU (1L << 4) |
811 |
#define MWM_DECOR_MINIMIZE (1L << 5) |
812 |
#define MWM_DECOR_MAXIMIZE (1L << 6) |
813 |
/* bit definitions for MwmHints.inputMode */ |
814 |
#define MWM_INPUT_MODELESS 0 |
815 |
#define MWM_INPUT_PRIMARY_APPLICATION_MODAL 1 |
816 |
#define MWM_INPUT_SYSTEM_MODAL 2 |
817 |
#define MWM_INPUT_FULL_APPLICATION_MODAL 3 |
818 |
#define PROP_MWM_HINTS_ELEMENTS 5 |
781 |
|
819 |
|
782 |
/* |
820 |
/* |
783 |
***************************************************************************** |
821 |
***************************************************************************** |