Added the tablet manager and tablet v2 protocol
This commit is contained in:
parent
0b8fe2a0aa
commit
da80eb8e57
5 changed files with 1195 additions and 1 deletions
|
|
@ -109,6 +109,8 @@ CCompositor::CCompositor() {
|
|||
m_sWLRVirtPtrMgr = wlr_virtual_pointer_manager_v1_create(m_sWLDisplay);
|
||||
|
||||
m_sWLRToplevelMgr = wlr_foreign_toplevel_manager_v1_create(m_sWLDisplay);
|
||||
|
||||
m_sWLRTabletManager = wlr_tablet_v2_create(m_sWLDisplay);
|
||||
}
|
||||
|
||||
CCompositor::~CCompositor() {
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ public:
|
|||
wlr_xdg_decoration_manager_v1* m_sWLRXDGDecoMgr;
|
||||
wlr_virtual_pointer_manager_v1* m_sWLRVirtPtrMgr;
|
||||
wlr_foreign_toplevel_manager_v1* m_sWLRToplevelMgr;
|
||||
wlr_tablet_manager_v2* m_sWLRTabletManager;
|
||||
// ------------------------------------------------- //
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -77,6 +77,9 @@ extern "C" {
|
|||
#include "../wlroots/include/wlr/util/log.h"
|
||||
#include "../wlroots/include/wlr/xwayland.h"
|
||||
#include "../wlroots/include/wlr/util/region.h"
|
||||
#include "../wlroots/include/wlr/types/wlr_tablet_pad.h"
|
||||
#include "../wlroots/include/wlr/types/wlr_tablet_tool.h"
|
||||
#include "../wlroots/include/wlr/types/wlr_tablet_v2.h"
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include "../wlroots/include/wlr/render/egl.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue