on xenial help sign in
test fixes
commita9caa24dadf131344a6feac09f3e47e75fd7e134 authorNick Dedekind <nick.dedekind@canonical.com> dateWed 16 Mar 2016, 12:29 (11 years ago) parentbdf01f5
2 files changed+9−6
qml/Stages/DesktopStage.qml+8−5 tests/mocks/Unity/Application/ApplicationInfo.cpp+1−1
qml/Stages/DesktopStage.qml+8−5
@@ -369,8 +369,10 @@ AbstractStage {
369369 name: "fullscreen"; when: decoratedWindow.fullscreen
370370 PropertyChanges {
371371 target: appDelegate;
372− x: 0; y: -PanelState.panelHeight
373− requestedWidth: appContainer.width; requestedHeight: appContainer.height;
372+ x: 0;
373+ y: -PanelState.panelHeight
374+ requestedWidth: appContainer.width;
375+ requestedHeight: appContainer.height;
374376 }
375377 },
376378 State {
@@ -387,14 +389,15 @@ AbstractStage {
387389 name: "maximized"; when: appDelegate.maximized && !appDelegate.minimized
388390 PropertyChanges {
389391 target: appDelegate;
390− x: root.leftMargin; y: 0;
392+ x: root.leftMargin;
393+ y: 0;
391394 visuallyMinimized: false;
392395 visuallyMaximized: true
393396 }
394397 PropertyChanges {
395398 target: decoratedWindow
396− requestedWidth: root.width;
397− requestedHeight: root.height;
399+ requestedWidth: appContainer.width - root.leftMargin;
400+ requestedHeight: appContainer.height;
398401 }
399402 },
400403 State {
tests/mocks/Unity/Application/ApplicationInfo.cpp+1−1
@@ -203,7 +203,7 @@ void ApplicationInfo::setFullscreen(bool value)
203203
204204bool ApplicationInfo::fullscreen() const
205205{
206− return m_session ? m_session->fullscreen() : false;
206+ return m_session ? m_session->fullscreen() : m_fullscreen;
207207}
208208
209209void ApplicationInfo::setManualSurfaceCreation(bool value)