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

Introduce new client property for XAWT: xawt.mwm_decor_title

    XMLWordPrintable

Details

    • CSR
    • Status: Closed
    • P4
    • Resolution: Approved
    • 18
    • client-libs
    • None
    • behavioral
    • minimal
    • Minimal risk as these are client properties never before used and their names are Unix and AWT specific.
    • Other
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: