Make GraphicsDevice#getDisplayMode() to return correct mode for Xinerama multi-screen

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • tbd
    • Affects Version/s: 9
    • Component/s: client-libs
    • None
    • generic
    • linux

      Currently GraphicsDevice#getDisplayMode() does not receive mode from native platform in case of Xinerama and returns the default mode form getBounds():

              Rectangle r = gc.getBounds();
              return new DisplayMode(r.width, r.height,
                                     DisplayMode.BIT_DEPTH_MULTI,
                                     DisplayMode.REFRESH_RATE_UNKNOWN);

      The corresponding native code need to be fixed to return the actual mode,

            Assignee:
            Semyon Sadetsky (Inactive)
            Reporter:
            Semyon Sadetsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: