Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4119

agl-compositor sends maximized for surfaces configured to non-maximized size

XMLWordPrintable

      First, I call

      agl_shell_desktop_set_app_property(agl_shell_desktop, app_id,
                                               AGL_SHELL_DESKTOP_APP_ROLE_POPUP, 640, 180,
                                               0, 0, 640, 720, output)
      

      then I create a surface with that app_id. In addition, I do

      xdg_toplevel_set_min_size(toplevel, 640, 720)
      xdg_toplevel_set_max_size(toplevel, 640, 720)
      

      just in case.

      The problem is that still I receive xdg_toplevel_configure with fullscreen dimensions.

      Snippet from the logs

      [03:06:51.129] Setting surface to initial size of surface to 1080x1920
      [03:06:51.129] Added surface 0xaaaada5f6bd0, app_id ivi-to-ic to pending list
      [03:06:51.134] Checking pending surface 0xaaaada5f6bd0, app_id ivi-to-ic
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mvlad Marius Vlad
            opsyvvavrychuk Vasyl Vavrychuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: