Fix CursorMove command to correctly honour EdgeScroll settings.
[fvwm.git] / modules / FvwmDragWell / commonStuff.h
blob4088f822275d432a55e7b2483219f3bb6d2c20d4
1 /* -*-c-*- */
2 #ifndef _COMMONSTUFF_H
3 #define _COMMONSTUFF_H
4 /* atoms used by Xdnd, copied and modified from Paul Sheer's xdndv2 library.*/
5 typedef struct XdndAtomsStruct {
6 Atom xdndAware;
7 Atom xdndEnter;
8 Atom xdndLeave;
9 Atom xdndStatus;
10 Atom xdndSelection;
11 Atom xdndPosition;
12 Atom xdndDrop;
13 Atom xdndFinished;
14 Atom xdndActionCopy;
15 Atom xdndActionMove;
16 Atom xdndActionLink;
17 Atom xdndActionAsk;
18 Atom xdndActionPrivate;
19 Atom xdndTypeList;
20 Atom xdndActionList;
21 Atom xdndActionDescription;
22 } XdndAtoms;
24 #define XDND_SETBIT(datum,bit,val) ( ((datum) & (~(0x1UL<<bit))) | (val<<bit))
25 #define XDND_GETBIT(datum,bit) ((datum) & (0x1UL<<bit))
27 #endif