@@ -544,63 +544,6 @@ AbstractStage {
544 onDecorationPressed: { ApplicationManager.focusApplication(model.appId) }
544 onDecorationPressed: { ApplicationManager.focusApplication(model.appId) }
549− fill: decoratedWindow
550− margins: decoratedWindow.active ? -units.gu(2) : -units.gu(1.5)
552− source: "graphics/dropshadow2gu.sci"
554− visible: !decoratedWindow.fullscreen && !appDelegate.maximized
560− radius: appDelegate.maximized ? 0 : units.gu(.7) // disable rounded corners when maximized
561− anchors.fill: decoratedWindow
564− ShaderEffectSource {
570− ShaderEffectSource {
572− hideSource: !decoratedWindow.fullscreen
573− sourceItem: decoratedWindow
580− enabled: state == "normal" || state == "closing"
581− || appDelegate.maximizedLeft || appDelegate.maximizedRight
583− property variant sourceTexture: sourceImage
584− property variant maskTexture: sourceMask
587− uniform sampler2D sourceTexture;
588− uniform sampler2D maskTexture;
589− varying highp vec2 qt_TexCoord0;
593− highp vec4 c = texture2D(sourceTexture, qt_TexCoord0);
594− highp vec4 m = texture2D(maskTexture, qt_TexCoord0);
596− if (m.a == 0.0) // if the mask is transparent, discard the pixel
599− gl_FragColor = c; // otherwise use the original color
604 WindowedFullscreenPolicy {
547 WindowedFullscreenPolicy {
605 id: fullscreenPolicy
548 id: fullscreenPolicy
606 active: true
549 active: true