mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
make positioning work in wayland too
This commit is contained in:
parent
9e3b4e46b3
commit
39b70c17a2
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue