/[oroborus]/oroborus/src/oroborus.h
ViewVC logotype

Diff of /oroborus/src/oroborus.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by dreamind, Sun Jul 7 03:17:41 2002 UTC revision 1.14 by dreamind, Mon Jul 15 08:23:08 2002 UTC
# Line 94  Line 94 
94    
95  enum  enum
96  {  {
97    NET_WM_STATE_REMOVE,          /* remove/unset property */          NET_WM_STATE_REMOVE,                                    /* remove/unset property */
98    NET_WM_STATE_ADD,             /* add/set property */          NET_WM_STATE_ADD,                                                       /* add/set property */
99    NET_WM_STATE_TOGGLE           /* toggle property  */          NET_WM_STATE_TOGGLE                                             /* toggle property  */
100  };  };
101    
102  enum  enum
103  {  {
104    KEY_MOVE_UP,          KEY_MOVE_UP,
105    KEY_MOVE_DOWN,          KEY_MOVE_DOWN,
106    KEY_MOVE_LEFT,          KEY_MOVE_LEFT,
107    KEY_MOVE_RIGHT,          KEY_MOVE_RIGHT,
108    KEY_RESIZE_UP,          KEY_RESIZE_UP,
109    KEY_RESIZE_DOWN,          KEY_RESIZE_DOWN,
110    KEY_RESIZE_LEFT,          KEY_RESIZE_LEFT,
111    KEY_RESIZE_RIGHT,          KEY_RESIZE_RIGHT,
112    KEY_CYCLE_WINDOWS,          KEY_CYCLE_WINDOWS,
113    KEY_CLOSE_WINDOW,          KEY_CLOSE_WINDOW,
114    KEY_HIDE_WINDOW,          KEY_HIDE_WINDOW,
115    KEY_MAXIMIZE_WINDOW,          KEY_MAXIMIZE_WINDOW,
116    KEY_MAXIMIZE_VERT,          KEY_MAXIMIZE_VERT,
117    KEY_MAXIMIZE_HORIZ,          KEY_MAXIMIZE_HORIZ,
118    KEY_SHADE_WINDOW,          KEY_SHADE_WINDOW,
119    KEY_RAISE_WINDOW_LAYER,          KEY_RAISE_WINDOW_LAYER,
120    KEY_LOWER_WINDOW_LAYER,          KEY_LOWER_WINDOW_LAYER,
121    KEY_NEXT_WORKSPACE,          KEY_NEXT_WORKSPACE,
122    KEY_PREV_WORKSPACE,          KEY_PREV_WORKSPACE,
123    KEY_ADD_WORKSPACE,          KEY_ADD_WORKSPACE,
124    KEY_DEL_WORKSPACE,          KEY_DEL_WORKSPACE,
125    KEY_STICK_WINDOW,          KEY_STICK_WINDOW,
126    KEY_WORKSPACE_1,          KEY_WORKSPACE_1,
127    KEY_WORKSPACE_2,          KEY_WORKSPACE_2,
128    KEY_WORKSPACE_3,          KEY_WORKSPACE_3,
129    KEY_WORKSPACE_4,          KEY_WORKSPACE_4,
130    KEY_WORKSPACE_5,          KEY_WORKSPACE_5,
131    KEY_WORKSPACE_6,          KEY_WORKSPACE_6,
132    KEY_WORKSPACE_7,          KEY_WORKSPACE_7,
133    KEY_WORKSPACE_8,          KEY_WORKSPACE_8,
134    KEY_WORKSPACE_9,          KEY_WORKSPACE_9,
135    KEY_MOVE_NEXT_WORKSPACE,          KEY_MOVE_NEXT_WORKSPACE,
136    KEY_MOVE_PREV_WORKSPACE,          KEY_MOVE_PREV_WORKSPACE,
137    KEY_MOVE_WORKSPACE_1,          KEY_MOVE_WORKSPACE_1,
138    KEY_MOVE_WORKSPACE_2,          KEY_MOVE_WORKSPACE_2,
139    KEY_MOVE_WORKSPACE_3,          KEY_MOVE_WORKSPACE_3,
140    KEY_MOVE_WORKSPACE_4,          KEY_MOVE_WORKSPACE_4,
141    KEY_MOVE_WORKSPACE_5,          KEY_MOVE_WORKSPACE_5,
142    KEY_MOVE_WORKSPACE_6,          KEY_MOVE_WORKSPACE_6,
143    KEY_MOVE_WORKSPACE_7,          KEY_MOVE_WORKSPACE_7,
144    KEY_MOVE_WORKSPACE_8,          KEY_MOVE_WORKSPACE_8,
145    KEY_MOVE_WORKSPACE_9,          KEY_MOVE_WORKSPACE_9,
146    KEY_TOP_LEFT,          KEY_TOP_LEFT,
147    KEY_TOP_RIGHT,          KEY_TOP_RIGHT,
148    KEY_BOTTOM_LEFT,          KEY_BOTTOM_LEFT,
149    KEY_BOTTOM_RIGHT,          KEY_BOTTOM_RIGHT,
150    KEY_QUIT,          KEY_QUIT,
151    KEY_WINDOW_OPS          KEY_WINDOW_OPS
152  };  };
153    
154  #define KEY_COUNT                       48  #define KEY_COUNT                       48
# Line 172  typedef struct _Client Client; Line 172  typedef struct _Client Client;
172    
173  struct _Client  struct _Client
174  {  {
175    Window window, frame, title, sides[3], corners[4], buttons[BUTTON_COUNT];          Window window, frame, title, sides[3], corners[4], buttons[BUTTON_COUNT];
176    int x, y, width, height, border_width;          int x, y, width, height, border_width;
177    int old_x, old_y, old_width, old_height;          int old_x, old_y, old_width, old_height;
178    int button_pressed[BUTTON_COUNT];          int button_pressed[BUTTON_COUNT];
179    char *name;          char *name;
180    XSizeHints *size;          XSizeHints *size;
181    int has_border;          int has_border;
182    long win_hints;          long win_hints;
183    long win_state;          long win_state;
184    long win_layer;          long win_layer;
185    long win_workspace;          long win_workspace;
186    int ignore_unmap, focus;          int ignore_unmap, focus;
187    Client *next;          Client *next;
188    Client *prev;          Client *prev;
189    Client *transientFor;          Client *transientFor;
190  };  };
191    
192  /* the structure of all long options for getopt */  /* the structure of all long options for getopt */
193  static struct option const long_options[] = {  static struct option const long_options[] = {
194    {"verbose", no_argument, 0, 'v'},          {"verbose", no_argument, 0, 'v'},
195    {"help", no_argument, 0, 'h'},          {"help", no_argument, 0, 'h'},
196    {"version", no_argument, 0, 'V'},          {"version", no_argument, 0, 'V'},
197    {"file", required_argument, 0, 'f'},          {"file", required_argument, 0, 'f'},
198    {"display", required_argument, 0, 'd'},          {"display", required_argument, 0, 'd'},
199    {NULL, 0, NULL, 0}          {NULL, 0, NULL, 0}
200  };  };
201    
202  /*  /*
# Line 275  extern char button_layout[6]; Line 275  extern char button_layout[6];
275  extern int double_click_action;  extern int double_click_action;
276  extern int box_move, box_resize;  extern int box_move, box_resize;
277  extern int click_to_focus, focus_new, raise_on_focus, raise_delay,  extern int click_to_focus, focus_new, raise_on_focus, raise_delay,
278    raise_on_click;          raise_on_click;
279  extern int window_placement, snap_to_border, snap_to_windows, snap_width;  extern int window_placement, snap_to_border, snap_to_windows, snap_width;
280  extern int workspace_count, wrap_workspaces;  extern int workspace_count, wrap_workspaces;
281  extern int button_state[4];  extern int button_state[4];
# Line 345  void workspaceSetCount (int); Line 345  void workspaceSetCount (int);
345  #endif /* __OROBORUS_H */  #endif /* __OROBORUS_H */
346    
347  /**This must remain at the end of the file.**********  /**This must remain at the end of the file.**********
348   * vim600:set sw=2 ts=8:                            *   * vim600:set sw=2 ts=2:                            *
349   * vim600:set cindent cinoptions={1s,>2s,^-1s,n-1s: *   * vim600:set cindent cinoptions={1s,>2s,^-1s,n-1s: *
350   * vim600:set foldmethod=marker:                    *   * vim600:set foldmethod=marker:                    *
351   ****************************************************/   ****************************************************/

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26