JWM Source Documentation

move.h
Go to the documentation of this file.
00001 
00010 #ifndef MOVE_H
00011 #define MOVE_H
00012 
00013 struct ClientNode;
00014 
00016 typedef enum {
00017    SNAP_NONE                 = 0,  
00018    SNAP_SCREEN               = 1,  
00019    SNAP_BORDER               = 2   
00020 } SnapModeType;
00021 
00023 typedef enum {
00024    MOVE_OPAQUE,   
00025    MOVE_OUTLINE   
00026 } MoveModeType;
00027 
00035 int MoveClient(struct ClientNode *np, int startx, int starty, int snap);
00036 
00041 int MoveClientKeyboard(struct ClientNode *np);
00042 
00046 void SetSnapMode(SnapModeType mode);
00047 
00051 void SetSnapDistance(const char *value);
00052 
00054 void SetDefaultSnapDistance();
00055 
00059 void SetMoveMode(MoveModeType mode);
00060 
00061 #endif /* MOVE_H */
00062