forked from pyrite-dev/milsko
more wayland work
This commit is contained in:
parent
5ad21381c5
commit
37fe636c75
10 changed files with 152 additions and 78 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#ifndef __MW_LOWLEVEL_WAYLAND_H__
|
||||
#define __MW_LOWLEVEL_WAYLAND_H__
|
||||
|
||||
#include "Mw/BaseTypes.h"
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
#include <Mw/LowLevel.h>
|
||||
|
|
@ -63,6 +64,9 @@ struct _MwLLWayland {
|
|||
struct wl_shm* shm;
|
||||
struct wl_registry_listener registry_listener;
|
||||
|
||||
MwU8* mapped_buffer;
|
||||
int mapped_buffer_size;
|
||||
|
||||
struct {
|
||||
const char* key;
|
||||
wl_setup_func* value;
|
||||
|
|
@ -74,6 +78,7 @@ struct _MwLLWayland {
|
|||
}* wl_protocol_map;
|
||||
|
||||
MwBool configured;
|
||||
MwBool force_redraw;
|
||||
MwU32 x, y, ww, wh;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue