mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-02 01:34:46 +00:00
Merge branch 'master' into bshah/stuff
This commit is contained in:
commit
7af3e39cd7
3 changed files with 2 additions and 4 deletions
|
|
@ -95,9 +95,7 @@ void FullScreenPanel::showEvent(QShowEvent *event)
|
||||||
{
|
{
|
||||||
using namespace KWayland::Client;
|
using namespace KWayland::Client;
|
||||||
QQuickWindow::showEvent(event);
|
QQuickWindow::showEvent(event);
|
||||||
// setWindowState(Qt::WindowFullScreen);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#include "fullscreenpanel.moc"
|
#include "fullscreenpanel.moc"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ FullScreenPanel {
|
||||||
|
|
||||||
property alias fixedArea: fixedArea
|
property alias fixedArea: fixedArea
|
||||||
function open() {
|
function open() {
|
||||||
window.visible = true;
|
window.showFullScreen();
|
||||||
peekAnim.running = true;
|
peekAnim.running = true;
|
||||||
}
|
}
|
||||||
function close() {
|
function close() {
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ FullScreenPanel {
|
||||||
property alias to: internalAnim.to
|
property alias to: internalAnim.to
|
||||||
property alias from: internalAnim.from
|
property alias from: internalAnim.from
|
||||||
ScriptAction {
|
ScriptAction {
|
||||||
script: window.visible = true;
|
script: window.showFullScreen();
|
||||||
}
|
}
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
id: internalAnim
|
id: internalAnim
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue