No subject
Thu Mar 12 04:18:45 EDT 2009
static void uniconify(IconWindow *win)
{
XClientMessageEvent sev;
sev.type = ClientMessage;
sev.display = gdk_display;
sev.format = 32;
sev.window = win->xwindow;
sev.message_type = gdk_x11_atom_to_xatom(
gdk_atom_intern("_NET_ACTIVE_WINDOW", FALSE));
sev.data.l[0] = 0;
gdk_error_trap_push();
XSendEvent(gdk_display, DefaultRootWindow(gdk_display), False,
SubstructureNotifyMask | SubstructureRedirectMask,
(XEvent *) &sev);
XSync(gdk_display, False);
gdk_error_trap_pop();
}
Though my X programming is a bit weak. :)
More information about the openbox
mailing list