protocols: add Hyprland toplevel mapping implementation (#9775)
This commit is contained in:
parent
b06fbdb743
commit
a9549dbca0
9 changed files with 147 additions and 11 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <vector>
|
||||
#include <unordered_map>
|
||||
#include "WaylandProtocol.hpp"
|
||||
#include "desktop/DesktopTypes.hpp"
|
||||
#include "ext-foreign-toplevel-list-v1.hpp"
|
||||
|
||||
class CForeignToplevelHandle {
|
||||
|
|
@ -18,6 +19,7 @@ class CForeignToplevelHandle {
|
|||
bool closed = false;
|
||||
|
||||
friend class CForeignToplevelList;
|
||||
friend class CForeignToplevelProtocol;
|
||||
};
|
||||
|
||||
class CForeignToplevelList {
|
||||
|
|
@ -43,6 +45,7 @@ class CForeignToplevelList {
|
|||
class CForeignToplevelProtocol : public IWaylandProtocol {
|
||||
public:
|
||||
CForeignToplevelProtocol(const wl_interface* iface, const int& ver, const std::string& name);
|
||||
PHLWINDOW windowFromHandleResource(wl_resource* res);
|
||||
|
||||
virtual void bindManager(wl_client* client, void* data, uint32_t ver, uint32_t id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue