1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-11 03:05:52 +01:00

new/changelog fix

This commit is contained in:
kojima
1999-04-03 03:51:17 +00:00
parent 370c15ad2b
commit 9df0e16707
29 changed files with 680 additions and 439 deletions

View File

@@ -419,7 +419,6 @@ renderTexture(WMScreen *scr, proplist_t texture, int width, int height,
}
} else if (strcasecmp(&type[1], "pixmap")==0) {
RImage *timage;
int w, h;
char *path;
RColor color;

View File

@@ -124,6 +124,8 @@ save(WMWidget *w, void *data)
proplist_t p1, p2;
proplist_t keyList;
proplist_t key;
char *msg = "Reconfigure";
XEvent ev;
/* puts("gathering data");*/
@@ -157,6 +159,23 @@ save(WMWidget *w, void *data)
/* puts("storing data");*/
PLSave(WindowMakerDB, YES);
memset(&ev, 0, sizeof(XEvent));
ev.xclient.type = ClientMessage;
ev.xclient.message_type = XInternAtom(WMScreenDisplay(WMWidgetScreen(w)),
"_WINDOWMAKER_COMMAND", False);
ev.xclient.window = DefaultRootWindow(WMScreenDisplay(WMWidgetScreen(w)));
ev.xclient.format = 8;
for (i = 0; i <= strlen(msg); i++) {
ev.xclient.data.b[i] = msg[i];
}
XSendEvent(WMScreenDisplay(WMWidgetScreen(w)),
DefaultRootWindow(WMScreenDisplay(WMWidgetScreen(w))),
False, SubstructureRedirectMask, &ev);
XFlush(WMScreenDisplay(WMWidgetScreen(w)));
}