[DEBUG] Add dbg-txn protocol

This commit is contained in:
Kirill Primak 2024-01-08 20:04:15 +03:00
parent f8030ef5ae
commit 5b41595f4d
7 changed files with 207 additions and 1 deletions

View file

@ -12,6 +12,7 @@
#include <wlr/types/wlr_cursor.h>
#include <wlr/types/wlr_compositor.h>
#include <wlr/types/wlr_data_device.h>
#include <wlr/types/wlr_dbg_txn.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/types/wlr_keyboard.h>
#include <wlr/types/wlr_output.h>
@ -20,6 +21,7 @@
#include <wlr/types/wlr_scene.h>
#include <wlr/types/wlr_seat.h>
#include <wlr/types/wlr_subcompositor.h>
#include <wlr/types/wlr_viewporter.h>
#include <wlr/types/wlr_xcursor_manager.h>
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/util/log.h>
@ -981,6 +983,9 @@ int main(int argc, char *argv[]) {
* HiDPI support). */
server.cursor_mgr = wlr_xcursor_manager_create(NULL, 24);
wlr_viewporter_create(server.wl_display);
wlr_dbg_txn_manager_create(server.wl_display);
/*
* wlr_cursor *only* displays an image on screen. It does not move around
* when the pointer moves. However, we can attach input devices to it, and