summaryrefslogtreecommitdiff
path: root/src/events/Events.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-27 17:25:20 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-27 17:25:20 +0200
commitad36a9dc9ed032e6e34c06f78995bca0045f85b0 (patch)
tree933cfc71255a9cfbe1211f187d7d101a4e30ffc8 /src/events/Events.hpp
parent4c3b9ae207967bf06b973cc6b49db58887f1af6b (diff)
rework popups completely
Diffstat (limited to 'src/events/Events.hpp')
-rw-r--r--src/events/Events.hpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/events/Events.hpp b/src/events/Events.hpp
index b7fac9d6..bcd3d87b 100644
--- a/src/events/Events.hpp
+++ b/src/events/Events.hpp
@@ -1,6 +1,12 @@
#pragma once
#include "../defines.hpp"
+//
+// LISTEN_NAME -> the wl_listener
+//
+// LISTENER_NAME -> the wl_listener.notify function
+//
+
namespace Events {
// Monitor events
LISTENER(change);
@@ -14,19 +20,15 @@ namespace Events {
LISTENER(commitLayerSurface);
// Subsurfaces
- LISTENER(newSubsurface);
+ LISTENER(newSubsurfaceNode);
+ LISTENER(destroySubsurfaceNode);
LISTENER(mapSubsurface);
LISTENER(unmapSubsurface);
LISTENER(destroySubsurface);
LISTENER(commitSubsurface);
// Popups
- LISTENER(newPopup);
- LISTENER(newPopupFromPopup);
- LISTENER(mapPopup);
- LISTENER(unmapPopup);
- LISTENER(destroyPopup);
- LISTENER(commitPopup);
+ LISTENER(newPopup); // LayerSurface
LISTENER(newPopupXDG);
LISTENER(mapPopupXDG);
@@ -49,7 +51,7 @@ namespace Events {
LISTENER(configureX11);
// Window subsurfaces
- LISTENER(newSubsurfaceWindow);
+ // LISTENER(newSubsurfaceWindow);
// Input events
LISTENER(mouseMove);