layershell: Implement dockWantsInput
Kwin logic has a separate method for if a dock wants input, given layer shells are always docks it is important to implement this.
This commit is contained in:
parent
0f5e719b61
commit
a8466c3604
2 changed files with 6 additions and 0 deletions
|
@ -136,6 +136,11 @@ bool LayerShellV1Window::wantsInput() const
|
||||||
return acceptsFocus() && readyForPainting();
|
return acceptsFocus() && readyForPainting();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool LayerShellV1Window::dockWantsInput() const
|
||||||
|
{
|
||||||
|
return wantsInput();
|
||||||
|
}
|
||||||
|
|
||||||
StrutRect LayerShellV1Window::strutRect(StrutArea area) const
|
StrutRect LayerShellV1Window::strutRect(StrutArea area) const
|
||||||
{
|
{
|
||||||
switch (area) {
|
switch (area) {
|
||||||
|
|
|
@ -36,6 +36,7 @@ public:
|
||||||
bool isResizable() const override;
|
bool isResizable() const override;
|
||||||
bool takeFocus() override;
|
bool takeFocus() override;
|
||||||
bool wantsInput() const override;
|
bool wantsInput() const override;
|
||||||
|
bool dockWantsInput() const override;
|
||||||
StrutRect strutRect(StrutArea area) const override;
|
StrutRect strutRect(StrutArea area) const override;
|
||||||
bool hasStrut() const override;
|
bool hasStrut() const override;
|
||||||
void destroyWindow() override;
|
void destroyWindow() override;
|
||||||
|
|
Loading…
Reference in a new issue