send_event32 (win, server.atom._NET_WM_STATE, 2, server.atom._NET_WM_STATE_SHADED);
}
+/*
+int x11_send_expose(Display *dpy, Window dst, int x, int y, int width, int height)
+{
+ XEvent xe;
+ int rc;
+ xe.type = Expose;
+ xe.xexpose.window = dst;
+ xe.xexpose.x = x;
+ xe.xexpose.y = y;
+ xe.xexpose.width = width;
+ xe.xexpose.height = height;
+ xe.xexpose.count = 0;
+ rc = XSendEvent(tray_data.dpy, dst, True, NoEventMask, &xe);
+ return x11_ok() && rc != 0;
+}
+*/
int window_is_hidden (Window win)
{