Commit 39b70c17 authored by Marco Martin's avatar Marco Martin

make positioning work in wayland too

parent 9e3b4e46
......@@ -17,9 +17,10 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************/
import QtQuick 2.0
import QtQuick.Window 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.kwin 2.0;
import org.kde.kwin 2.0
PlasmaCore.Dialog {
id: panel
......@@ -42,7 +43,9 @@ PlasmaCore.Dialog {
}
}
Component.onCompleted: {
// KWin.registerWindow(panel);
KWin.registerWindow(panel);
panel.visible = true;
panel.y = workspace.virtualScreenSize.height - height
}
}
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