Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-111254

Fullscreen Disables Window Resize

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.11
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 10 Pro x64
      Java 1.8.0-111 x64
    • Confirmation Status:
      Unconfirmed

      Description

      When you exit fullscreen the window can no longer be resized. It is stuck at either the default size or the size passed in with the command line parameters.

      The way to fix this is to make the Display resizable after you set fullscreen.

      Display.setFullscreen(fullscreen);
      Display.setResizable(false);
      Display.setResizable(true);
      

      It needs to be set to false first because the implementation caches the last value and will not update the Window if it is already resizable in the cached state.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              gudenau gudenau
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: