Sha256: c7518b57eb9a2d1950cb0842bdc3bb379ef5c6aee492a8823eb7f098882e7391

Contents?: true

Size: 575 Bytes

Versions: 2

Compression:

Stored size: 575 Bytes

Contents

#include <stdbool.h>

#include <X11/Xlib.h>
#include <X11/Xatom.h>

#ifdef HAVE_XRANDR
# include <X11/extensions/Xrandr.h>
#endif

#include <GL/glx.h>

#include "mo.h"

typedef struct say_x11_window {
  Display *dis;
  Window win;
  int screen_id;

  XVisualInfo *vi;
  GLXFBConfig config;

  mo_array events;

  XIM im;
  XIC ic;

  Cursor hidden_cursor;

  int old_video_mode;

  Atom delete_event;

  bool fullscreen;
} say_x11_window;

typedef struct say_x11_context {
  GLXContext context;

  Display *dis;
  Window   win;

  bool should_free_window;
} say_x11_context;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ray-0.2.1 ext/say_x11.h
ray-0.2.0 ext/say_x11.h