Hyprland/src/events/Events.hpp

73 lines
1.6 KiB
C++
Raw Normal View History

2022-03-16 21:37:21 +01:00
#pragma once
#include "../defines.hpp"
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-03-18 20:03:39 +01:00
// Layer events
2022-03-16 21:37:21 +01:00
LISTENER(newLayerSurface);
2022-03-17 18:25:16 +01:00
LISTENER(destroyLayerSurface);
LISTENER(mapLayerSurface);
LISTENER(unmapLayerSurface);
LISTENER(commitLayerSurface);
2022-03-17 20:22:29 +01:00
2022-03-20 12:11:57 +01:00
// Popups
LISTENER(newPopup);
LISTENER(newPopupFromPopup);
LISTENER(mapPopup);
LISTENER(unmapPopup);
LISTENER(destroyPopup);
LISTENER(commitPopup);
2022-03-20 13:37:07 +01:00
LISTENER(newPopupXDG);
LISTENER(mapPopupXDG);
LISTENER(unmapPopupXDG);
LISTENER(destroyPopupXDG);
LISTENER(commitPopupXDG);
2022-03-20 12:11:57 +01:00
2022-03-18 20:03:39 +01:00
// Surface XDG (window)
2022-03-16 21:37:21 +01:00
LISTENER(newXDGSurface);
2022-03-18 20:03:39 +01:00
// Window events
2022-03-17 20:22:29 +01:00
LISTENER(commitWindow);
LISTENER(mapWindow);
LISTENER(unmapWindow);
LISTENER(destroyWindow);
LISTENER(setTitleWindow);
LISTENER(fullscreenWindow);
2022-03-18 20:03:39 +01:00
LISTENER(activateX11);
LISTENER(configureX11);
2022-03-17 20:22:29 +01:00
2022-03-18 20:03:39 +01:00
// Input events
2022-03-16 21:37:21 +01:00
LISTENER(mouseMove);
LISTENER(mouseMoveAbsolute);
LISTENER(mouseButton);
LISTENER(mouseAxis);
LISTENER(mouseFrame);
2022-03-17 20:55:04 +01:00
2022-03-16 21:37:21 +01:00
LISTENER(newInput);
2022-03-17 20:55:04 +01:00
LISTENER(keyboardKey);
LISTENER(keyboardMod);
LISTENER(keyboardDestroy);
2022-03-16 21:37:21 +01:00
2022-03-18 20:03:39 +01:00
// Various
2022-03-16 21:37:21 +01:00
LISTENER(requestMouse);
LISTENER(requestSetSel);
LISTENER(requestSetPrimarySel);
2022-03-18 20:03:39 +01:00
LISTENER(activate);
2022-03-16 21:37:21 +01:00
2022-03-18 20:03:39 +01:00
// outputMgr
2022-03-16 21:37:21 +01:00
LISTENER(outputMgrApply);
LISTENER(outputMgrTest);
2022-03-17 16:56:33 +01:00
2022-03-18 20:03:39 +01:00
// Monitor part 2 the sequel
2022-03-17 16:56:33 +01:00
LISTENER(monitorFrame);
LISTENER(monitorDestroy);
2022-03-18 20:03:39 +01:00
// XWayland
LISTENER(readyXWayland);
LISTENER(surfaceXWayland);
2022-03-16 21:37:21 +01:00
};