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
|
|
|
// 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 18:50:47 +00:00
|
|
|
DYNLISTENFUNC(setOverrideRedirect);
|
2023-11-09 22:43:52 +00:00
|
|
|
DYNLISTENFUNC(ackConfigure);
|
2022-03-17 20:22:29 +01:00
|
|
|
|
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 16:28:04 +00:00
|
|
|
DYNLISTENFUNC(monitorStateRequest);
|
2023-04-07 16:31:51 +01:00
|
|
|
DYNLISTENFUNC(monitorDamage);
|
2023-04-07 17:25:56 +01:00
|
|
|
DYNLISTENFUNC(monitorNeedsFrame);
|
2023-04-12 21:40:51 +01:00
|
|
|
DYNLISTENFUNC(monitorCommit);
|
2023-06-23 21:14:04 +02:00
|
|
|
DYNLISTENFUNC(monitorBind);
|
2022-09-25 20:07:48 +02:00
|
|
|
};
|