rework popups completely
This commit is contained in:
parent
4c3b9ae207
commit
ad36a9dc9e
11 changed files with 314 additions and 285 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue