Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8267308

Introduce new client property for XAWT: xawt.mwm_decor_title

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P4
    • Resolution: Approved
    • Fix Version/s: 18
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      Minimal risk as these are client properties never before used and their names are Unix and AWT specific.
    • Interface Kind:
      Other
    • Scope:
      JDK

      Description

      Summary

      Control window title visibility by a new client property in XAWT on Unix desktop systems

      Problem

      Rich client applications (IntelliJ IDEA for example) need control over window title rendering.

      Solution

      Some popular X Window Managers allow controlling the window title through the "decorations" part of _MOTIF_WM_HINTS window property, namely, MWM_DECOR_TITLE bit. Extend XAWT by a client property ("xawt.mwm_decor_title") that controls the presence or absence of that bit in _MOTIF_WM_HINTS. The new client property is applied to the root panes of windows.

      Specification

      The new property follows the format of some existing properties:

      "apple.awt.windowTitleVisible"

      See CPlatformWindow.java for a complete list.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              avu Alexey Ushakov
              Reporter:
              avu Alexey Ushakov
              Reviewed By:
              Alexander Zvegintsev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: