2007-11-27 19:40:25 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2004 Lubos Lunak <l.lunak@kde.org>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
|
2007-04-29 17:35:43 +00:00
|
|
|
// Include some code from kwin core in order to avoid
|
|
|
|
// double implementation.
|
|
|
|
|
|
|
|
#include "ruleslist.h"
|
2013-09-30 07:53:56 +00:00
|
|
|
#include "../../cursor.cpp"
|
2016-08-16 13:31:14 +00:00
|
|
|
#include "../../plugins/platforms/x11/standalone/x11cursor.cpp"
|
2007-04-29 17:35:43 +00:00
|
|
|
#include "../../rules.cpp"
|
|
|
|
#include "../../placement.cpp"
|
|
|
|
#include "../../options.cpp"
|
|
|
|
#include "../../utils.cpp"
|
2013-01-07 07:07:27 +00:00
|
|
|
#include "../../client_machine.cpp"
|
2013-06-26 12:32:03 +00:00
|
|
|
|
|
|
|
KWin::InputRedirection *KWin::InputRedirection::s_self = nullptr;
|
|
|
|
|
|
|
|
Qt::MouseButtons KWin::InputRedirection::qtButtonStates() const
|
|
|
|
{
|
|
|
|
return Qt::NoButton;
|
|
|
|
}
|
2013-07-02 10:16:03 +00:00
|
|
|
|
|
|
|
Qt::KeyboardModifiers KWin::InputRedirection::keyboardModifiers() const
|
|
|
|
{
|
|
|
|
return Qt::NoModifier;
|
|
|
|
}
|
2015-06-05 04:43:12 +00:00
|
|
|
|
|
|
|
void KWin::InputRedirection::warpPointer(const QPointF&)
|
|
|
|
{
|
|
|
|
}
|
2015-06-05 17:34:03 +00:00
|
|
|
|
|
|
|
bool KWin::InputRedirection::supportsPointerWarping() const
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2016-02-12 12:30:00 +00:00
|
|
|
|
|
|
|
QPointF KWin::InputRedirection::globalPointer() const
|
|
|
|
{
|
|
|
|
return QPointF();
|
|
|
|
}
|