on xenial help sign in
Make dropshadows invisible if greeter is
9f6ce9eMichael Terry
qml/Greeter/Greeter.qml+2
@@ -176,6 +176,7 @@ Showable {
176 anchors.left: parent.right
176 anchors.left: parent.right
177 anchors.top: parent.top
177 anchors.top: parent.top
178 anchors.bottom: parent.bottom
178 anchors.bottom: parent.bottom
179+ visible: parent.visible
179 fillMode: Image.Tile
180 fillMode: Image.Tile
180 source: "../graphics/dropshadow_right.png"
181 source: "../graphics/dropshadow_right.png"
181 }
182 }
@@ -185,6 +186,7 @@ Showable {
185 anchors.right: parent.left
186 anchors.right: parent.left
186 anchors.top: parent.top
187 anchors.top: parent.top
187 anchors.bottom: parent.bottom
188 anchors.bottom: parent.bottom
189+ visible: parent.visible
188 fillMode: Image.Tile
190 fillMode: Image.Tile
189 source: "../graphics/dropshadow_left.png"
191 source: "../graphics/dropshadow_left.png"
190 }
192 }
qml/Shell.qml+5−4
@@ -364,9 +364,11 @@ FocusScope {
364
364
365 Item {
365 Item {
366 // Just a tiny wrapper to adjust greeter's x without messing with its own dragging
366 // Just a tiny wrapper to adjust greeter's x without messing with its own dragging
367− width: parent.width
368− height: parent.height
369 x: launcher.progress
367 x: launcher.progress
368+ y: panel.panelHeight
369+ width: parent.width
370+ height: parent.height - panel.panelHeight
371+
370 Behavior on x {SmoothedAnimation{velocity: 600}}
372 Behavior on x {SmoothedAnimation{velocity: 600}}
371
373
372 Rectangle {
374 Rectangle {
@@ -385,9 +387,8 @@ FocusScope {
385
387
386 defaultBackground: shell.background
388 defaultBackground: shell.background
387
389
388− y: panel.panelHeight
389 width: parent.width
390 width: parent.width
390− height: parent.height - panel.panelHeight
391+ height: parent.height
391
392
392 dragHandleWidth: shell.edgeSize
393 dragHandleWidth: shell.edgeSize
393
394