+struct jwxyz_Drawable {
+ enum { WINDOW, PIXMAP } type;
+ XRectangle frame;
+ union {
+ EGLSurface egl_surface;
+ GLuint texture; /* If this is 0, it's the default framebuffer. */
+ };
+ union {
+ struct {
+ struct running_hack *rh;
+ int last_mouse_x, last_mouse_y;
+ } window;
+ struct {
+ int depth;
+ } pixmap;
+ };
+};
+