-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
What is the proposed approach to creating undecorated windows in Compose for Desktop that still need to display some sort of a draggable title pane area with close/minimize/maximize buttons?
The dragging / resizing in Swing is done as part of the JRootPane UI delegate. For example https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalRootPaneUI.java#L698 for dragging and resizing under the Metal look-and-feel. The listener is then set on the whole window in https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/javax/swing/plaf/metal/MetalRootPaneUI.java#L246 and processes all relevant mouse events.
Is this the same approach that we should adopt for Windows created with undecorated=true?