aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-26 23:11:17 +0200
committerDavid Robillard <d@drobilla.net>2019-07-28 19:06:39 +0200
commitffdc710f20ce8016bf5daeaf97cb75bcb479a22d (patch)
tree6b4bf3fa7912f1d8f55a7d54a3b88c526752983f /pugl/pugl_x11.h
parenta84fe498ef7e8786455cf480bb865e1708465207 (diff)
downloadpugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.tar.gz
pugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.tar.bz2
pugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.zip
Rename PuglDrawContext to PuglBackend
This name was pretty confusing since there is already the concept of a "context".
Diffstat (limited to 'pugl/pugl_x11.h')
-rw-r--r--pugl/pugl_x11.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/pugl/pugl_x11.h b/pugl/pugl_x11.h
index 6a38c62..6efc145 100644
--- a/pugl/pugl_x11.h
+++ b/pugl/pugl_x11.h
@@ -21,14 +21,14 @@
#include <X11/Xutil.h>
struct PuglInternalsImpl {
- Display* display;
- int screen;
- XVisualInfo* vi;
- Window win;
- XIM xim;
- XIC xic;
- PuglDrawContext ctx;
- PuglSurface* surface;
+ Display* display;
+ int screen;
+ XVisualInfo* vi;
+ Window win;
+ XIM xim;
+ XIC xic;
+ PuglBackend backend;
+ PuglSurface* surface;
struct {
Atom WM_PROTOCOLS;