[wayland] X11WindowedBackend anounces input support by itself
It's the one knowing what it supports, no need to do it outside.
This commit is contained in:
parent
c4f8bed815
commit
b2f5873a28
2 changed files with 2 additions and 2 deletions
|
@ -97,6 +97,8 @@ void X11WindowedBackend::init()
|
|||
createWindow();
|
||||
startEventReading();
|
||||
setReady(true);
|
||||
waylandServer()->seat()->setHasPointer(true);
|
||||
waylandServer()->seat()->setHasKeyboard(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -120,8 +120,6 @@ void ApplicationWayland::createBackend()
|
|||
x11Backend->init();
|
||||
if (x11Backend->isValid()) {
|
||||
backend = x11Backend;
|
||||
waylandServer()->seat()->setHasPointer(true);
|
||||
waylandServer()->seat()->setHasKeyboard(true);
|
||||
} else {
|
||||
delete x11Backend;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue