xwayland: move to hyprland impl (#6086)
This commit is contained in:
parent
a71207434c
commit
addd3e7f1a
36 changed files with 2956 additions and 707 deletions
|
|
@ -15,3 +15,7 @@ bool IDataSource::used() {
|
|||
void IDataSource::markUsed() {
|
||||
wasUsed = true;
|
||||
}
|
||||
|
||||
eDataSourceType IDataSource::type() {
|
||||
return DATA_SOURCE_TYPE_WAYLAND;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,11 @@
|
|||
#include <cstdint>
|
||||
#include "../../helpers/signal/Signal.hpp"
|
||||
|
||||
enum eDataSourceType {
|
||||
DATA_SOURCE_TYPE_WAYLAND = 0,
|
||||
DATA_SOURCE_TYPE_X11,
|
||||
};
|
||||
|
||||
class IDataSource {
|
||||
public:
|
||||
IDataSource() {}
|
||||
|
|
@ -19,6 +24,7 @@ class IDataSource {
|
|||
virtual bool used();
|
||||
virtual void markUsed();
|
||||
virtual void error(uint32_t code, const std::string& msg) = 0;
|
||||
virtual eDataSourceType type();
|
||||
|
||||
struct {
|
||||
CSignal destroy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue