mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 15:46:00 +01:00
30ae4be181
barebones but functioning
88 lines
No EOL
1.9 KiB
C++
88 lines
No EOL
1.9 KiB
C++
#pragma once
|
|
#include "../defines.hpp"
|
|
|
|
namespace Events {
|
|
// Monitor events
|
|
LISTENER(change);
|
|
LISTENER(newOutput);
|
|
|
|
// Layer events
|
|
LISTENER(newLayerSurface);
|
|
LISTENER(destroyLayerSurface);
|
|
LISTENER(mapLayerSurface);
|
|
LISTENER(unmapLayerSurface);
|
|
LISTENER(commitLayerSurface);
|
|
|
|
// Subsurfaces
|
|
LISTENER(newSubsurface);
|
|
LISTENER(mapSubsurface);
|
|
LISTENER(unmapSubsurface);
|
|
LISTENER(destroySubsurface);
|
|
LISTENER(commitSubsurface);
|
|
|
|
// Popups
|
|
LISTENER(newPopup);
|
|
LISTENER(newPopupFromPopup);
|
|
LISTENER(mapPopup);
|
|
LISTENER(unmapPopup);
|
|
LISTENER(destroyPopup);
|
|
LISTENER(commitPopup);
|
|
|
|
LISTENER(newPopupXDG);
|
|
LISTENER(mapPopupXDG);
|
|
LISTENER(unmapPopupXDG);
|
|
LISTENER(destroyPopupXDG);
|
|
LISTENER(commitPopupXDG);
|
|
LISTENER(newPopupFromPopupXDG);
|
|
|
|
// Surface XDG (window)
|
|
LISTENER(newXDGSurface);
|
|
|
|
// Window events
|
|
LISTENER(commitWindow);
|
|
LISTENER(mapWindow);
|
|
LISTENER(unmapWindow);
|
|
LISTENER(destroyWindow);
|
|
LISTENER(setTitleWindow);
|
|
LISTENER(fullscreenWindow);
|
|
LISTENER(activateX11);
|
|
LISTENER(configureX11);
|
|
|
|
// Window subsurfaces
|
|
LISTENER(newSubsurfaceWindow);
|
|
|
|
// Input events
|
|
LISTENER(mouseMove);
|
|
LISTENER(mouseMoveAbsolute);
|
|
LISTENER(mouseButton);
|
|
LISTENER(mouseAxis);
|
|
LISTENER(mouseFrame);
|
|
|
|
LISTENER(newInput);
|
|
|
|
LISTENER(keyboardKey);
|
|
LISTENER(keyboardMod);
|
|
LISTENER(keyboardDestroy);
|
|
|
|
// Various
|
|
LISTENER(requestMouse);
|
|
LISTENER(requestSetSel);
|
|
LISTENER(requestSetPrimarySel);
|
|
LISTENER(activate);
|
|
|
|
// outputMgr
|
|
LISTENER(outputMgrApply);
|
|
LISTENER(outputMgrTest);
|
|
|
|
// Monitor part 2 the sequel
|
|
LISTENER(monitorFrame);
|
|
LISTENER(monitorDestroy);
|
|
|
|
// XWayland
|
|
LISTENER(readyXWayland);
|
|
LISTENER(surfaceXWayland);
|
|
|
|
// Drag & Drop
|
|
LISTENER(requestDrag);
|
|
LISTENER(startDrag);
|
|
}; |