Commit e1710bd6 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

[kstyle] Update blur region even if Breeze has no X11 support

Summary:
KWindowEffects provides a platform-independent API for enabling blur,
which requires neither Xlib nor XCB.

Test Plan: Compiles.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26631
parent d336cca2
......@@ -89,7 +89,6 @@ namespace Breeze
//___________________________________________________________
void BlurHelper::update(QWidget* widget) const
{
#if BREEZE_HAVE_X11
/*
directly from bespin code. Supposedly prevent playing with some 'pseudo-widgets'
that have winId matching some other -random- window
......@@ -103,9 +102,5 @@ namespace Breeze
if (widget->isVisible()) {
widget->update();
}
#else
Q_UNUSED( widget )
#endif
}
}
......@@ -37,10 +37,6 @@
#include <QHash>
#include <QObject>
#if BREEZE_HAVE_X11
#include <xcb/xcb.h>
#endif
namespace Breeze
{
class BlurHelper: public QObject
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment