1. 05 Feb, 2020 1 commit
    • Daniel van Vugt's avatar
      wayland-pointer: Bail unconditionally if without native backend · 06dae3a8
      Daniel van Vugt authored
      Using `-Dnative_backend=false` caused build failure due to a missing
      (implicit) definition of `META_IS_BACKEND_X11`. But if we define it
      properly then that just leaves some of the function's locals uninitialized
      and it will never work anyway. Just return unconditionally if there's no
      native backend to initialize the variables.
      Closes: GNOME/mutter#1025
  2. 04 Feb, 2020 3 commits
    • Daniel van Vugt's avatar
      background: Scale monitor_area after texture creation · 76240e24
      Daniel van Vugt authored and Robert Mader's avatar Robert Mader committed
      Scaling the `monitor_area` before texture creation was just wasting
      megabytes of memory on resolution that the monitor can't display. This
      was also hurting runtime performance.
        Monitor is natively 1920x1080 and scale set to 3.
        Before: The monitor texture allocated was 5760x3250x4 = 74.6 MB
        After:  The monitor texture allocated is  1920x1080x4 =  8.3 MB
      Closes: GNOME/gnome-shell#2118
    • Olivier Fourdan's avatar
      backends/native: Emit signals for virtual devices · 9b0392e9
      Olivier Fourdan authored
      When creating a virtual device for the native backend, no "device-added"
      is emitted.
      Similarly, no "device-removed" signal is emitted either when the virtual
      device is disposed.
      However, the backend plugs into the "device-added" signal to set the
      monitor device. Without the "device-added" signal being emitted, the
      monitor associated with a virtual device remains NULL.
      That later will cause a crash in `meta_idle_monitor_reset_idlettime()`
      called from `handle_idletime_for_event()` when processing events from a
      virtual device because the device monitor is NULL.
      Make sure to emit the "device-added" signal when creating a virtual
      device, and the "device-removed" when the virtual device is disposed.
    • Florian Müllner's avatar
      window: Ignore requests to be placed on non-existent workspaces · aa0aa89a
      Florian Müllner authored and Carlos Garnacho's avatar Carlos Garnacho committed
      When an X11 window requests an initial workspace, we currently trust
      it that the workspace actually exists. However dynamic workspaces
      make this easy to get wrong for applications: They make it likely
      for the number of workspaces to change between application starts,
      and if the app blindly applies its saved state on startup, it will
      trigger an assertion.
      Make sure that we pass valid parameters to set_workspace_state(),
      and simply let the workspace assignment fall through to the default
      handling otherwise.
  3. 03 Feb, 2020 3 commits
  4. 01 Feb, 2020 12 commits
  5. 31 Jan, 2020 13 commits
  6. 30 Jan, 2020 8 commits