Lines Matching refs:iconwin
64 int tray_embed(Window iconwin, int remove);
107 int tray_embed(Window iconwin, int remove) { in tray_embed() argument
110 if (!iconwin || !remove) {} in tray_embed()
125 if (!valid_window(iconwin, &attr, 1)) { in tray_embed()
128 iconwin = tweak_tk_window_id(iconwin); in tray_embed()
136 XReparentWindow(dpy, iconwin, rootwin, 0, 0); in tray_embed()
164 ev.xclient.data.l[2] = iconwin; in tray_embed()
168 if (!valid_window(iconwin, &attr, 1)) { in tray_embed()
172 iconwin = tweak_tk_window_id(iconwin); in tray_embed()
173 ev.xclient.data.l[2] = iconwin; in tray_embed()
175 XUnmapWindow(dpy, iconwin); in tray_embed()
189 XChangeProperty(dpy, iconwin, xembed_info, xembed_info, 32, in tray_embed()
198 XSetWMNormalHints(dpy, iconwin, xszh); in tray_embed()
204 XChangeProperty(dpy, iconwin, tatom, tatom, 32, PropModeReplace, in tray_embed()
207 XChangeProperty(dpy, iconwin, tatom, XA_WINDOW, 32, PropModeReplace, in tray_embed()