mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-09 07:14:18 +01:00
added some netwm support in WINGs
This commit is contained in:
@@ -588,7 +588,11 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context)
|
||||
"XdndActionAsk",
|
||||
"XdndActionPrivate",
|
||||
"_WINGS_DND_MOUSE_OFFSET",
|
||||
"WM_STATE"
|
||||
"WM_STATE",
|
||||
"UTF8_STRING",
|
||||
"_NET_WM_NAME",
|
||||
"_NET_WM_ICON_NAME",
|
||||
"_NET_WM_ICON",
|
||||
};
|
||||
Atom atoms[sizeof(atomNames)/sizeof(char*)];
|
||||
int i;
|
||||
@@ -901,12 +905,16 @@ WMCreateScreenWithRContext(Display *display, int screen, RContext *context)
|
||||
scrPtr->wmIconDragOffsetAtom = atoms[i++];
|
||||
|
||||
scrPtr->wmStateAtom = atoms[i++];
|
||||
|
||||
scrPtr->utf8String = atoms[i++];
|
||||
scrPtr->netwmName = atoms[i++];
|
||||
scrPtr->netwmIconName = atoms[i++];
|
||||
scrPtr->netwmIcon = atoms[i++];
|
||||
|
||||
scrPtr->rootView = W_CreateRootView(scrPtr);
|
||||
|
||||
scrPtr->balloon = W_CreateBalloon(scrPtr);
|
||||
|
||||
|
||||
W_InitApplication(scrPtr);
|
||||
|
||||
return scrPtr;
|
||||
|
||||
Reference in New Issue
Block a user