mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
dnd changes
This commit is contained in:
@@ -565,6 +565,7 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context)
|
|||||||
"XdndActionAsk",
|
"XdndActionAsk",
|
||||||
"XdndActionPrivate",
|
"XdndActionPrivate",
|
||||||
"XdndStatus",
|
"XdndStatus",
|
||||||
|
"_WINGS_DND_MOUSE_OFFSET",
|
||||||
"WM_STATE"
|
"WM_STATE"
|
||||||
};
|
};
|
||||||
Atom atoms[sizeof(atomNames)/sizeof(char*)];
|
Atom atoms[sizeof(atomNames)/sizeof(char*)];
|
||||||
@@ -798,6 +799,8 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context)
|
|||||||
scrPtr->xdndActionAsk = atoms[i++];
|
scrPtr->xdndActionAsk = atoms[i++];
|
||||||
scrPtr->xdndActionPrivate = atoms[i++];
|
scrPtr->xdndActionPrivate = atoms[i++];
|
||||||
|
|
||||||
|
scrPtr->wmIconDragOffsetAtom = atoms[i++];
|
||||||
|
|
||||||
scrPtr->wmStateAtom = atoms[i++];
|
scrPtr->wmStateAtom = atoms[i++];
|
||||||
|
|
||||||
scrPtr->rootView = W_CreateRootView(scrPtr);
|
scrPtr->rootView = W_CreateRootView(scrPtr);
|
||||||
|
|||||||
Reference in New Issue
Block a user