forked from quickshell/quickshell
core/popupanchor: rework popup anchoring and add PopupAnchor
This commit is contained in:
parent
14910b1b60
commit
ebfa8ec448
14 changed files with 770 additions and 108 deletions
20
src/wayland/xdgshell.hpp
Normal file
20
src/wayland/xdgshell.hpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
|
||||
#include <private/qwayland-xdg-shell.h>
|
||||
#include <qwaylandclientextension.h>
|
||||
|
||||
namespace qs::wayland::xdg_shell {
|
||||
|
||||
// Hack that binds xdg_wm_base twice as QtWaylandXdgShell headers are not exported anywhere.
|
||||
|
||||
class XdgWmBase
|
||||
: public QWaylandClientExtensionTemplate<XdgWmBase>
|
||||
, public QtWayland::xdg_wm_base {
|
||||
public:
|
||||
static XdgWmBase* instance();
|
||||
|
||||
private:
|
||||
explicit XdgWmBase();
|
||||
};
|
||||
|
||||
} // namespace qs::wayland::xdg_shell
|
Loading…
Add table
Add a link
Reference in a new issue