mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kwin: use KApplication instead of KSystemEventFilter to catch mouse events in startupfeedback effect
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
4cdf2661ea
commit
df65bab6e9
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include <KDebug>
|
||||
#include <KGlobal>
|
||||
#include <KStartupInfo>
|
||||
#include <KSystemEventFilter>
|
||||
#include <KApplication>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
@ -35,12 +35,12 @@ StartupEventNotifier::StartupEventNotifier(xcb_window_t window)
|
|||
: QWidget(nullptr),
|
||||
m_window(window)
|
||||
{
|
||||
KSystemEventFilter::installEventFilter(this);
|
||||
kapp->installX11EventFilter(this);
|
||||
}
|
||||
|
||||
StartupEventNotifier::~StartupEventNotifier()
|
||||
{
|
||||
KSystemEventFilter::removeEventFilter(this);
|
||||
kapp->removeX11EventFilter(this);
|
||||
}
|
||||
|
||||
bool StartupEventNotifier::x11Event(XEvent *xevent)
|
||||
|
|
Loading…
Add table
Reference in a new issue