The issue is the code says it's inserting a fake output to replace the
old ones, but no code has ever existed to actually do that :)

    if (!xmir_screen->windowed) {
        xmir_screen->windowed = 1;

        XMIR_DEBUG(("Root resized, removing all outputs and inserting
fake output\n"));

        while (!xorg_list_is_empty(&xmir_screen->output_list)) {
            struct xmir_output *xmir_output = 
xorg_list_first_entry(&xmir_screen->output_list, typeof(*xmir_output), link);

            RRCrtcDestroy(xmir_output->randr_crtc);
            RROutputDestroy(xmir_output->randr_output);
            xmir_output_destroy(xmir_output);
        }
    }


** Changed in: xorg-server (Ubuntu)
     Assignee: (unassigned) => Daniel van Vugt (vanvugt)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1504422

Title:
  Xmir: xrandr outputs information is lost after root window resize

Status in xorg-server package in Ubuntu:
  Confirmed

Bug description:
  Xmir: xrandr outputs information is lost after root window resize
  (non-rootless mode)

  $ xrandr
  Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 32767 x 32767
  VGA-0 disconnected
  DP-0 disconnected
  HDMI-0 disconnected
  DP-1 disconnected
  HDMI-1 disconnected
  DP-2 connected 1920x1200+0+0 520mm x 320mm
     [email protected]  59.88*+
  DP-3 disconnected

  # Now I resize the root window in the Mir shell...

  $ xrandr
  Screen 0: minimum 320 x 200, current 1631 x 1098, maximum 32767 x 32767

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1504422/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to