message: Changes to NativeWindow frame QML
diff: @@ -10,9 +10,11 @@ import Lumina.Backend.NativeWindowObject 2.0
  property NativeWindowObject object
  property string window_id
  + SystemPalette { id:palette }
  +
  id: windowFrame
  border.width: 5
  - border.color: palette.window
  + //border.color: palette.window
  color: palette.window
  x: object.frameGeometry.x
  y: object.frameGeometry.y
  @@ -28,7 +30,7 @@ import Lumina.Backend.NativeWindowObject 2.0
  property int newHeight: 0
  onPositionChanged: {
  - var globalP = windowFrame.mapToItem(background, mouse.x, mouse.y)
  + var globalP = windowFrame.mapToGlobal(mouse.x, mouse.y)
  if(positionY < windowFrame.y + 15 ) {
  /*if(positionX < windowFrame.x + 15) {
  console.log("Top Left");
  @@ -47,9 +49,7 @@ import Lumina.Backend.NativeWindowObject 2.0
  windowFrame.y = mouse.y
  }else{*/
  //Top
  - console.log("oldHeight: ", windowFrame.height);
  windowFrame.height -= 1
  - console.log("newHeight: ", windowFrame.height);
  windowFrame.y = globalP.y
  // }
  }
  @@ -88,7 +88,7 @@ import Lumina.Backend.NativeWindowObject 2.0
  states: [
  State {
  when: resizeArea.drag.held
  - PropertyChanges { target: canvas; color:"red" }
  + PropertyChanges { target: Window; color:"red" }
  },
  State {
  when: dragArea.drag.held
  @@ -118,8 +118,8 @@ import Lumina.Backend.NativeWindowObject 2.0
  anchors.left: parent.left
  Layout.fillHeight: true
  iconSource: windowFrame.object.icon
  -
  }
  +
  Text {
  Layout.fillWidth: true
  Layout.fillHeight: true
  @@ -156,7 +156,6 @@ import Lumina.Backend.NativeWindowObject 2.0
  iconName: "document-close"
  onClicked: { windowFrame.object.requestClose() }
  }
  -
  }
  }
  