1. 19 Apr, 2019 2 commits
  2. 18 Apr, 2019 22 commits
  3. 17 Apr, 2019 14 commits
    • Robert Mader's avatar
      shaped-texture: Use draw_rectangle() for full paints · 22884b0b
      Robert Mader authored
      This reverts a change introduced in edfe5cc3 to use `paint_clipped_rectangle()`
      instead of `cogl_framebuffer_draw_rectangle()` for full paints as it
      contained logic necessary for viewport src-rects. This is not longer the case.
    • Robert Mader's avatar
      shaped-texture: Use CoglMatrix for viewport src-rect · d2415da0
      Robert Mader authored
      This brings the viewport src-rect code in line with how we handle
      transforms, by applying a `CoglMatrix` to the pipeline instead of
      changing the paint logic.
      It also fixes not-y-inverted textures in combination with
    • Robert Mader's avatar
      shaped-texture: Add checks to viewport reset functions · 96f7bf28
      Robert Mader authored
      The set and reset functions are unconditionally called on every
      commit. Add missings checks to the reset functions to bail out if
      nothing changed.
    • Robert Mader's avatar
      cogl/texture-2d: Remove notes about COGL_FEATURE_ID_TEXTURE_NPOT · db486ad8
      Robert Mader authored
      NPOT capabilities were made madatory in OpenGL 2.0 and GLES 2.0,
      so let's stop encouraging developers to write new code with checks
      for it.
    • Adam Jackson's avatar
      cogl: Bump minimum GLES version to 2.0 · 8180927d
      Adam Jackson authored
      This is already effectively true because there is only a GLSL backend.
      It also implies OES_texture_npot.
    • Adam Jackson's avatar
      cogl: Bump minimum GL version to 2.1 · 191c31b0
      Adam Jackson authored
      We already effectively require GLSL, because there's no fixed-function
      backend anymore. OpenGL 2.0 drivers don't really exist in the wild, so
      just go ahead and require 2.1 or better. 2.1 implies GLSL 1.20 or
      better, so simplify that as well.
    • Adam Jackson's avatar
      cogl: Remove color write masks from the framebuffer and pipeline API · a94841ab
      Adam Jackson authored
      The only thing using this is its own tests, and it's difficult to
      imagine a real use for it.
    • Adam Jackson's avatar
      cogl: Remove viewport scissor workaround · b624e94a
      Adam Jackson authored
      This is effectively a revert of:
          commit 6cfc93f2
          Author: Robert Bragg <robert@linux.intel.com>
          Date:   Tue Oct 2 11:44:00 2012 +0100
              clip-stack: workaround intel gen6 viewport clip bug
      It's been over six years, if this bug is still present we should just
      fix Mesa already.
    • Florian Müllner's avatar
      Bump version to 3.32.1 · e3f3274b
      Florian Müllner authored
      Update NEWS.
    • Olivier Fourdan's avatar
      display: Fix inconsistent behavior with demand attention · d2ca5cc2
      Olivier Fourdan authored
      When focus stealing prevention kicks in, mutter would set the demand
      attention flag on the window.
      Focus stealing prevention would also prevent the window from being
      raised and focused, which is expected as its precisely its purpose.
      Yet, when that occurs, the user expects the window which has just been
      prevented from being focused to be the next one in the MRU list, so
      that pressing [Alt]-[Tab] would raise and give focus to that window.
      This works fine when the window is placed on the primary monitor, but
      not when placed on another monitor, in which case the window which has
      been denied focus is placed ahead of the MRU list and pressing
      [Alt]-[Tab] would leave the focus on the current window.
      This is because of a mechanism in `meta_display_get_tab_list()` which
      forces the windows with the demand attention flag set to be placed first
      in the MRU list when they're placed on a workspace different from the
      current one.
      But because workspaces apply only to the primary monitor (by default),
      the windows placed on other outputs have their workspace set to `NULL`
      which forces them ahead of the MRU list by mistake.
      Fix this by using the appropriate `meta_window_located_on_workspace()
      function to check if the window is on another workspace.
      Closes: #523
    • Carlos Garnacho's avatar
      core: Emit MetaStartupNotification::changed on sequence completion · 3de6f7eb
      Carlos Garnacho authored
      This way handlers that want to know the get_complete() status will be able
      to do so without further delays.
      Closes: #541
    • Carlos Garnacho's avatar
      core: Add MetaStartupSequence::complete signal · 38ff01d6
      Carlos Garnacho authored
      It was a vfunc so far, but we want things subscribing to it.
      Closes: #541
    • Carlos Garnacho's avatar
      core: Account for completed sequences in feedback updates · 40103d6f
      Carlos Garnacho authored
      The sequences may stay completed in the list (eg. pending a focus request),
      it's then confusing to show the "wait" cursor icon until they are really
      Closes: #541
    • Carlos Garnacho's avatar
      core: Fix differing sequence timestamp precision expectations · ab7ef5f8
      Carlos Garnacho authored
      Calculations were being done at places accounting on usec precision,
      however those are still treated as having msec precision at places. Let's
      consolidate for the latter since it requires less changes across the board
      and usec precision doesn't buy us anything here.
      Closes: GNOME/mutter#541
  4. 15 Apr, 2019 2 commits
    • Olivier Fourdan's avatar
      wayland/output: Set user data of xdg_output resource · 2c1a951b
      Olivier Fourdan authored
      mutter would randomly crash in `send_xdg_output_events()` when changing
      the fractional scaling:
        wl_resource_post_event ()
        zxdg_output_v1_send_logical_size ()
        send_xdg_output_events ()
        wayland_output_update_for_output ()
        meta_wayland_compositor_update_outputs ()
        on_monitors_changed ()
        g_closure_invoke ()
        signal_emit_unlocked_R ()
        g_signal_emit_valist ()
        _signal_emit ()
        meta_monitor_manager_notify_monitors_changed ()
        meta_monitor_manager_rebuild ()
      This is because the xdg-output resource got freed but wasn't removed
      from the list of resources.
      Fix this by setting the user data of the xdg-output resource to the
      corresponding `MetaWaylandOutput` so that the xdg-output resource
      destructor can remove it from the list of resources.
    • verdre's avatar
      keybindings: Stop keybinding if a touch happens while Super is pressed · 6ec330cc
      verdre authored
      We use the combination of pressing Super and clicking+moving the mouse
      to drag windows around and we also support pressing Super and using the
      touchscreen to drag windows.
      Since we don't want to show the overview when the Super key was used to
      initiate a window drag, prevent showing the overview in case a
      TOUCH_BEGIN or TOUCH_END event happened during the key was pressed.
      Fixes #228