wayland: pointer listener
This commit is contained in:
parent
7836b0abcd
commit
6433322cda
3 changed files with 104 additions and 25 deletions
|
|
@ -1,4 +1,3 @@
|
|||
/* $Id$ */
|
||||
/*!
|
||||
* @file Mw/LowLevel/Wayland.h
|
||||
* @brief Wayland Backend
|
||||
|
|
@ -12,6 +11,7 @@
|
|||
#include <Mw/TypeDefs.h>
|
||||
#include <Mw/LowLevel.h>
|
||||
|
||||
#include <wayland-client-protocol.h>
|
||||
#include <wayland-egl.h>
|
||||
#include <EGL/egl.h>
|
||||
#include <GL/gl.h>
|
||||
|
|
@ -44,7 +44,6 @@ struct _MwLLWaylandTopLevel {
|
|||
|
||||
struct xkb_context* xkb_context;
|
||||
|
||||
MwBool running;
|
||||
MwBool compositor_created;
|
||||
MwBool xdg_wm_base_created;
|
||||
MwBool xdg_surface_created;
|
||||
|
|
@ -79,14 +78,18 @@ struct _MwLLWayland {
|
|||
struct wl_shm* shm;
|
||||
struct wl_registry_listener registry_listener;
|
||||
|
||||
struct wl_pointer* pointer;
|
||||
|
||||
MwLL* subwidgets;
|
||||
|
||||
MwBool configured;
|
||||
MwBool force_redraw;
|
||||
MwBool egl_setup;
|
||||
MwBool egl_do_resetup;
|
||||
MwU32 x, y, ww, wh;
|
||||
int z_index;
|
||||
MwBool configured;
|
||||
MwBool force_redraw;
|
||||
MwBool egl_setup;
|
||||
MwBool egl_do_resetup;
|
||||
MwU32 x, y, ww, wh;
|
||||
MwPoint cur_mouse_pos;
|
||||
|
||||
int last_serial;
|
||||
|
||||
MwLL parent;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue