1. 20 Jul, 2018 2 commits
    • Jonas Ådahl's avatar
      Add remote access controller API · 5f37369a
      Jonas Ådahl authored
      Add API to let GNOME Shell have the ability to get notified about remote
      access sessions (remote desktop, remote control and screen cast), and
      with a way to close them.
      
      This is done by adding an abstraction above the remote desktop and
      screen cast session objects, to avoid exposing their objects to outside
      of mutter. Doing that would result in external parts holding references
      to the objects, complicating their lifetimes. By using separate wrapper
      objects, we avoid this issue all together.
      5f37369a
    • Daniel van Vugt's avatar
      cogl: Fix cogl_frame_info_get_frame_counter docs · c6691afa
      Daniel van Vugt authored
      The docs previously suggested that `cogl_frame_info_get_frame_counter`
      returned a timestamp of an unknown clock ID. That's not correct. The
      cogl source code shows that it does and must use the same clock as
      `cogl_get_clock_time`.
      
      Related to #131
      c6691afa
  2. 18 Jul, 2018 10 commits
    • Florian Müllner's avatar
      build: Bump libpipewire requirement · ff5d561c
      Florian Müllner authored
      After commit 0407a8b3, we require the recently released 0.2 version.
      ff5d561c
    • Florian Müllner's avatar
      Bump version to 3.29.4 · 5ac7109a
      Florian Müllner authored
      Update NEWS.
      5ac7109a
    • Olivier Fourdan's avatar
      tests: Add the "parent_exported" test · 7749f4d9
      Olivier Fourdan authored
      This test aims at checking that the transient relationship set using the
      xdg-foreign API is respected by mutter and that no crash occurs, such as
      the one in issue !174.
      
      Note: the crash from issue !174 occurs only if "attach_modal_dialogs" is
      set, so one has to change that default value to "true" to be able to
      trigger the crash:
      
          gsettings set org.gnome.mutter attach-modal-dialogs true
      
      Related: #174
      7749f4d9
    • Olivier Fourdan's avatar
      tests: Fix usage message for "set_parent" · 22aea3dc
      Olivier Fourdan authored
      "set_parent" usage message was referring to "menu" which is not a valid
      command.
      22aea3dc
    • Olivier Fourdan's avatar
      tests: Add "set_parent_exported" command · 3d578434
      Olivier Fourdan authored
      Add a "set_parent_exported" command to test the xdg-foreign support, so
      that we can add a test which uses the GDK API for exported window:
      
        `gdk_wayland_window_set_transient_for_exported()`
      
      That will allow to detect if transient is applied correctly between
      foreign windows and detect possible crashes such as issue !174.
      
      Related: #174
      3d578434
    • Bastien Nocera's avatar
      backend: Remove direct upower-glib usage · fa9e330f
      Bastien Nocera authored
      Monitor whether UPower is running ourselves. That allows us to keep the
      same value for "lid-is-closed" throughout the process of UPower
      restarting, preventing unwanted monitor re-configuration through the process.
      
      Fixes another screen black out when UPower restarts and the laptop lid
      is closed.
      fa9e330f
    • Bastien Nocera's avatar
      backend: Move lid-is-closed handling to MetaBackend · 95121965
      Bastien Nocera authored
      Rather than handle UpClient in both MetaBackend (to reset the idletime
      when the lid is opened), and in MetaMonitorManager and
      MetaMonitorConfigManager (to turn the screen under the lid on/off
      depending on its status), move the ability to get the lid status from
      UPower or mock it in one place, in MetaBackend.
      95121965
    • Bastien Nocera's avatar
      monitor-manager: Cache the last known value of "lid-is-closed" · 49b23c74
      Bastien Nocera authored
      Restarting UPower will make every property of UpClient emit a "notify"
      signal (as a GDBusProxy would). Avoid mutter reconfiguring the displays
      when upower restarts by caching the last known value of "lid-is-closed"
      and only reconfiguring the displays if it actually changed.
      
      This fixes a black out of the screen when UPower restarts.
      49b23c74
    • Bastien Nocera's avatar
      monitor-manager: Don't throw an error if UPower isn't running · 644a618f
      Bastien Nocera authored
      Don't try to connect to a UpClient signal if creating the client failed,
      because UPower isn't running for example.
      644a618f
    • Bastien Nocera's avatar
      backends/native: Remove unused upower-glib header · 1e3ac3cf
      Bastien Nocera authored
      Wasn't removed in 657417a5.
      1e3ac3cf
  3. 17 Jul, 2018 3 commits
    • Daniel Șerbănescu's avatar
      Update Romanian translation · 658c3735
      Daniel Șerbănescu authored
      658c3735
    • Jonas Ådahl's avatar
      tests: Move window-shown verification to test-runner · 6d12d2ea
      Jonas Ådahl authored
      Previously we relied on the test-client to make sure that a window was
      shown. For X11, we did not need to do anything, but for Wayland we had
      to make sure we had drawn the first frame, otherwise mutter wouldn't
      have a buffer making the window not showable.
      
      Doing it this way doesn't work anymore however, since the 'after-paint'
      event will be emitted even if we didn't actually paint anything. This is
      the case with current Gtk under Wayland, where we won't draw until the
      compositor has configured the surface. In effect, this mean we'll get a
      dummy after-paint emission before the first frame is actually painted.
      
      Instead, move the verification that a "show" command has completed by
      having the test-runner wait for a "shown" signal on the window, which is
      emitted in the end of meta_window_show(). This requires an additional
      call to gdk_display_sync() in the test-client after creating the window,
      to make sure that the window creation vents has been received in the
      compositor.
      6d12d2ea
    • Jonas Ådahl's avatar
      stack-tracker: Don't sort O-R's under guard window on top · 356cad09
      Jonas Ådahl authored
      As of "stack-tracker: Keep override redirect windows on top"
      (e3d5bc07), we always sorted all
      override redirect on top of regular windows, as so is expected by
      regular override redirect windows. This had an unwanted consequence,
      however, which is that we should still not sort such override redirect
      windows on top if they are behind the guard window, as that'd result in
      windows hidden behind it now getting restacked anyway.
      
      Fix this by only sorting the override redirect windows that are found
      above the guard window on top. This fixes the override-redirect stacking
      test.
      356cad09
  4. 13 Jul, 2018 4 commits
  5. 12 Jul, 2018 1 commit
    • Jonas Ådahl's avatar
      screen-cast-src: Port to pipewire master · 0407a8b3
      Jonas Ådahl authored
      The PipeWire master branch saw some backports from the work branch,
      including API changes making the 0.1 series more aligned with future
      plans. Make mutter use the new API. This is needed to avoid dead locks
      that existed in the older version.
      0407a8b3
  6. 10 Jul, 2018 2 commits
  7. 09 Jul, 2018 2 commits
    • Florian Müllner's avatar
      Bump version to 3.29.3 · 90a68f31
      Florian Müllner authored
      Update NEWS.
      90a68f31
    • Florian Müllner's avatar
      build: Fix distcheck · 951fb03a
      Florian Müllner authored
      The test fix in commit 859bea62 broke distcheck, probably because
      abs_srcdir is prefixed with a relative $BUILDROOT. Hopefully this is
      the last autotools breakage before switching to meson, so don't
      bother investigating too much ...
      951fb03a
  8. 07 Jul, 2018 1 commit
  9. 06 Jul, 2018 15 commits