1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 06:38:05 +01:00

added some new functions

This commit is contained in:
kojima
2000-09-25 19:21:45 +00:00
parent 8cbe55ade1
commit edc57cf7a1
8 changed files with 277 additions and 1 deletions

View File

@@ -25,6 +25,24 @@
extern struct W_Application WMApplication;
void
WMSetApplicationIconWindow(WMScreen *scr, Window window)
{
scr->applicationIconWindow = window;
if (scr->groupLeader) {
XWMHints *hints;
hints = XGetWMHints(scr->display, scr->groupLeader);
hints->flags |= IconWindowHint;
hints->icon_window = window;
XSetWMHints(scr->display, scr->groupLeader, hints);
XFree(hints);
}
}
void
WMSetApplicationIconImage(WMScreen *scr, WMPixmap *icon)
{