1. 14 Jan, 2021 1 commit
    • Carlos Garnacho's avatar
      gdk/wayland: Mark matched settings from the portal as valid · 02a02fac
      Carlos Garnacho authored
      Commit e6209de9 added some checks on TranslationEntry.valid in
      order to figure out whether using the new font settings or the
      old g-s-d ones. However that's only set in the non-sandboxed case.
      
      This makes sandboxed applications fallback to the old (and also
      non-existing with modern g-s-d) settings, possibly resulting in
      ugly defaults being picked.
      
      Fix this by also marking TranslationEntry elements as valid when
      using the settings portal, precisely those entries that we are able
      to read and match with our own table.
      02a02fac
  2. 26 Aug, 2020 2 commits
  3. 13 Mar, 2020 1 commit
  4. 03 Sep, 2019 1 commit
    • Olivier Fourdan's avatar
      wayland: Fix xdg-output v3 support · a1becccd
      Olivier Fourdan authored
      The xdg_output.done event is deprecated in xdg-output v3, so clients
      need to rely on the wl_output.done event instead.
      
      However, applying the changes on the fist wl_output.event when using
      xdg-output v3 may lead to an incomplete change, as following xdg-output
      updates may follow.
      
      Make sure we apply xdg-output events on wl_output.done events with
      xdg-output v3.
      
      #2128
      a1becccd
  5. 26 Jul, 2019 1 commit
    • Olivier Fourdan's avatar
      wayland: Add xdg-output v3 support · ab1e86a3
      Olivier Fourdan authored
      xdg-output v3 marks xdg-output.done as deprecated and compositors are
      not required to send that event anymore.
      
      So if the xdg-output version is 3 or higher, simply set the initial
      value `xdg_output_done` to TRUE so we don't wait/expect that event
      from the compositor.
      
      #2053
      ab1e86a3
  6. 20 Jun, 2019 1 commit
  7. 31 May, 2019 1 commit
  8. 22 May, 2019 2 commits
  9. 21 May, 2019 1 commit
  10. 16 Apr, 2019 1 commit
    • Olivier Fourdan's avatar
      wayland: Add support for xdg-output · 1f64689c
      Olivier Fourdan authored
      Previously, the GDK backend for Wayland would deduce the logical size
      of the monitors from the wl_output size and scale.
      
      With the addition of fractional scaling which advertises a larger scale
      value and then scale down the client surface, the computed logical size
      of the monitors in GDK would be wrong and confuse applications which
      insist on using the monitor size and position (like Firefox).
      
      The xdg-output protocol aims at describing outputs in a way which is more
      in line with the concept of an output on desktop oriented systems by
      presenting the outputs using their logical size and position appropriately
      transformed.
      
      Add support for the optional xdg-output protocol so that the size and
      position of the monitors as reported by GDK is correct even when using
      fractional scaling.
      
      Fixes: #1828
      1f64689c
  11. 04 Jan, 2019 1 commit
  12. 12 Nov, 2018 1 commit
  13. 05 Nov, 2018 1 commit
  14. 04 Nov, 2018 1 commit
    • Matthias Clasen's avatar
      wayland: Support the settings portal · 41562ab2
      Matthias Clasen authored
      Under Wayland, we are currently directly using GSettings
      for desktop settings. But in a sandbox, we may not have
      access to dconf, so this may fail. Use the new settings
      portal instead.
      41562ab2
  15. 30 May, 2018 1 commit
    • Martin Blanchard's avatar
      wayland: Implement'gtk-fontconfig-timestamp' & 'gtk-modules' · cbc8d398
      Martin Blanchard authored
      The 'gtk-fontconfig-timestamp' and 'gtk-modules' settings are
      currently not available at all on Wayland. On X11, they are
      implemented through xsettings maintained up-to-date by
      gnome-settings-daemon.
      
      This patch implements both GtkSettings for Wayland using a
      new dbus interface also provided by gnome-settings-daemon.
      
      Closes #886
      cbc8d398
  16. 27 Nov, 2017 1 commit
  17. 27 Oct, 2017 1 commit
  18. 10 Jan, 2017 2 commits
  19. 19 May, 2016 1 commit
  20. 01 May, 2016 1 commit
  21. 28 Apr, 2016 1 commit
  22. 26 Apr, 2016 1 commit
    • Jonas Ådahl's avatar
      wayland: Clean up naming of GdkWaylandDisplay pointers · cb73becf
      Jonas Ådahl authored
      The naming of pointers to GdkWaylandDisplay's were inconsistent.
      Running the following commands in gtk+/gdk/wayland illustrate the
      inconsistency:
      
      $ grep -r '\<display_wayland\>' *.[ch] | wc -l
      195
      $ grep -r '\<wayland_display\>' *.[ch] | wc -l
      81
      
      This patch renames all occurrences of "wayland_display" to
      "display_wayland". This is also consistent with naming in the X11
      backend. A couple of whitespace changes were done as well in places
      where the rename was already done, that added line breaks to long lines
      that stood out.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=765474
      cb73becf
  23. 03 Apr, 2016 2 commits
  24. 01 Apr, 2016 1 commit
  25. 26 Mar, 2016 2 commits
  26. 10 Mar, 2016 1 commit
    • Jonas Ådahl's avatar
      wayland: Don't invent our own unstable protocol semantics · f68cf698
      Jonas Ådahl authored
      The gtk_shell protocol used some half baked unstable protocol semantics
      that worked by only allowing binding the exact version of the
      interface. This hack is a bit too confusing and it makes it impossible
      to do any compatible changes without breaking things.
      
      So, instead rename it to include a number in the interface names. This
      way we can add requests and events without causing compatibility issues,
      and we can later remove requests and events by bumping the number in
      the interface names.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=763001
      f68cf698
  27. 07 Mar, 2016 2 commits
  28. 14 Dec, 2015 1 commit
  29. 16 Aug, 2015 1 commit
  30. 28 Jul, 2015 1 commit
  31. 25 Jul, 2015 1 commit
  32. 09 Apr, 2015 1 commit
  33. 28 Feb, 2015 1 commit
  34. 28 Jan, 2015 1 commit