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

agl_shell_desktop_set_app_property has no effect when surface is re-created

XMLWordPrintable

      I have noticed that after

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

      first created surface receives proper configure events (with patches from SPEC-4119 and SPEC-4127).

      But if I destroy this surface and create again a new one with the same app_id, it receives maximized dimensions.

      I have to 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)
      

      again before creating a surface again.

        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: