2022-03-16 21:37:21 +01:00
|
|
|
#pragma once
|
|
|
|
#include "../defines.hpp"
|
|
|
|
|
2022-03-27 17:25:20 +02:00
|
|
|
//
|
|
|
|
// LISTEN_NAME -> the wl_listener
|
|
|
|
//
|
|
|
|
// LISTENER_NAME -> the wl_listener.notify function
|
|
|
|
//
|
|
|
|
|
2022-03-16 21:37:21 +01:00
|
|
|
namespace Events {
|
2022-03-18 20:03:39 +01:00
|
|
|
// Monitor events
|
2022-03-16 21:37:21 +01:00
|
|
|
LISTENER(change);
|
|
|
|
LISTENER(newOutput);
|
2022-03-17 20:22:29 +01:00
|
|
|
|
2022-08-27 23:10:13 +02:00
|
|
|
// DRM events
|
|
|
|
LISTENER(leaseRequest);
|
|
|
|
|
2022-03-18 20:03:39 +01:00
|
|
|
// Layer events
|
2022-03-16 21:37:21 +01:00
|
|
|
LISTENER(newLayerSurface);
|
2022-03-17 20:22:29 +01:00
|
|
|
|
2022-03-18 20:03:39 +01:00
|
|
|
// Window events
|
2022-03-28 22:31:39 +02:00
|
|
|
DYNLISTENFUNC(commitWindow);
|
|
|
|
DYNLISTENFUNC(mapWindow);
|
|
|
|
DYNLISTENFUNC(unmapWindow);
|
|
|
|
DYNLISTENFUNC(destroyWindow);
|
|
|
|
DYNLISTENFUNC(setTitleWindow);
|
|
|
|
DYNLISTENFUNC(fullscreenWindow);
|
|
|
|
DYNLISTENFUNC(activateX11);
|
|
|
|
DYNLISTENFUNC(configureX11);
|
2022-07-08 11:24:07 +02:00
|
|
|
DYNLISTENFUNC(unmanagedSetGeometry);
|
2022-07-16 00:11:21 +02:00
|
|
|
DYNLISTENFUNC(requestMove);
|
|
|
|
DYNLISTENFUNC(requestResize);
|
|
|
|
DYNLISTENFUNC(requestMinimize);
|
|
|
|
DYNLISTENFUNC(requestMaximize);
|
2023-02-28 19:50:47 +01:00
|
|
|
DYNLISTENFUNC(setOverrideRedirect);
|
2023-11-09 23:43:52 +01:00
|
|
|
DYNLISTENFUNC(ackConfigure);
|
2022-03-17 20:22:29 +01:00
|
|
|
|
2022-03-16 21:37:21 +01:00
|
|
|
LISTENER(newInput);
|
2022-03-17 20:55:04 +01:00
|
|
|
|
2022-05-12 12:13:02 +02:00
|
|
|
// Virt Ptr
|
|
|
|
LISTENER(newVirtPtr);
|
2022-09-25 20:07:48 +02:00
|
|
|
|
2022-03-18 20:03:39 +01:00
|
|
|
// Various
|
2022-03-16 21:37:21 +01:00
|
|
|
LISTENER(requestSetSel);
|
|
|
|
LISTENER(requestSetPrimarySel);
|
|
|
|
|
2022-03-18 20:03:39 +01:00
|
|
|
// Monitor part 2 the sequel
|
2022-03-28 22:31:39 +02:00
|
|
|
DYNLISTENFUNC(monitorFrame);
|
|
|
|
DYNLISTENFUNC(monitorDestroy);
|
2022-11-19 17:28:04 +01:00
|
|
|
DYNLISTENFUNC(monitorStateRequest);
|
2023-04-07 17:31:51 +02:00
|
|
|
DYNLISTENFUNC(monitorDamage);
|
2023-04-07 18:25:56 +02:00
|
|
|
DYNLISTENFUNC(monitorNeedsFrame);
|
2023-04-12 22:40:51 +02:00
|
|
|
DYNLISTENFUNC(monitorCommit);
|
2023-06-23 21:14:04 +02:00
|
|
|
DYNLISTENFUNC(monitorBind);
|
2022-03-18 20:03:39 +01:00
|
|
|
|
|
|
|
// XWayland
|
|
|
|
LISTENER(surfaceXWayland);
|
2022-03-21 17:50:28 +01:00
|
|
|
|
2022-06-06 13:48:17 +02:00
|
|
|
// Renderer destroy
|
|
|
|
LISTENER(RendererDestroy);
|
2022-07-06 15:42:37 +02:00
|
|
|
|
2022-07-16 16:12:31 +02:00
|
|
|
// session
|
|
|
|
LISTENER(sessionActive);
|
|
|
|
|
2023-02-03 12:58:55 +01:00
|
|
|
// Session Lock
|
|
|
|
LISTENER(newSessionLock);
|
2022-09-25 20:07:48 +02:00
|
|
|
};
|