~lukas-kde/unity8/activateWindows

« back to all changes in this revision

Viewing changes to qml/Stages/DesktopSpreadDelegate.qml

  • Committer: Lukáš Tinkl
  • Date: 2015-10-20 22:14:52 UTC
  • Revision ID: lukas.tinkl@canonical.com-20151020221452-311po3jp5eqx0i4w
add tests for maximize and minimize an app

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    property bool highlightShown: false
30
30
    property real shadowOpacity: 1
31
31
 
32
 
    property int windowWidth: application.session && application.session.surface ? application.session.surface.size.width : 0
33
 
    property int windowHeight: application.session && application.session.surface ? application.session.surface.size.height : 0
 
32
    property int windowWidth: application && application.session && application.session.surface ? application.session.surface.size.width : 0
 
33
    property int windowHeight: application && application.session && application.session.surface ? application.session.surface.size.height : 0
34
34
 
35
35
    state: "normal"
36
36
    states: [