Changeset View
Changeset View
Standalone View
Standalone View
src/server/compositor_interface.cpp
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 45 | static Private *cast(wl_resource *r) { | |||
---|---|---|---|---|---|
46 | return reinterpret_cast<Private*>(wl_resource_get_user_data(r)); | 46 | return reinterpret_cast<Private*>(wl_resource_get_user_data(r)); | ||
47 | } | 47 | } | ||
48 | 48 | | |||
49 | CompositorInterface *q; | 49 | CompositorInterface *q; | ||
50 | static const struct wl_compositor_interface s_interface; | 50 | static const struct wl_compositor_interface s_interface; | ||
51 | static const quint32 s_version; | 51 | static const quint32 s_version; | ||
52 | }; | 52 | }; | ||
53 | 53 | | |||
54 | const quint32 CompositorInterface::Private::s_version = 3; | 54 | const quint32 CompositorInterface::Private::s_version = 4; | ||
55 | 55 | | |||
56 | CompositorInterface::Private::Private(CompositorInterface *q, Display *d) | 56 | CompositorInterface::Private::Private(CompositorInterface *q, Display *d) | ||
57 | : Global::Private(d, &wl_compositor_interface, s_version) | 57 | : Global::Private(d, &wl_compositor_interface, s_version) | ||
58 | , q(q) | 58 | , q(q) | ||
59 | { | 59 | { | ||
60 | } | 60 | } | ||
61 | 61 | | |||
62 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 62 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | ||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |