1. 13 May, 2022 1 commit
  2. 02 May, 2022 1 commit
  3. 01 May, 2022 2 commits
  4. 18 Apr, 2022 2 commits
    • Joan Bruguera's avatar
      xfce-spawn: Unset exact environment variables only · 185894d2
      Joan Bruguera authored
      The check for unsetting the DISPLAY / DESKTOP_STARTUP_ID environment variables
      lacked a "=" at the end, thus it could clear any environment variable *prefixed*
      with DISPLAY or DESKTOP_STARTUP_ID, such as one named DISPLAY_STUFF.
      185894d2
    • Joan Bruguera's avatar
      xfce-spawn: Do not change DISPLAY on non-X11 displays · 607ccfc2
      Joan Bruguera authored
      xfce_spawn_process sets the DISPLAY environment variable according to
      gdk_screen_make_display_name (screen), but gdk_screen_make_display_name only
      returns an X11 display name on X11 environments, so the DISPLAY environment
      variable gets set to the wrong value for non-X11 environments.
      
      In particular, for Wayland, it returns WAYLAND_DISPLAY, so DISPLAY gets
      overridden to WAYLAND_DISPLAY, which breaks spawning X11 applications on
      XWayland setups (e.g. when launching from Thunar custom actions).
      
      Only set DISPLAY on X11 displays, and otherwise leave DISPLAY as-is.
      
      Fixes: #13
      
      Co-authored-by: Andre Miranda's avatarAndre Miranda <andreldm@xfce.org>
      607ccfc2
  5. 12 Apr, 2022 1 commit
  6. 06 Apr, 2022 1 commit
  7. 01 Apr, 2022 1 commit
  8. 31 Mar, 2022 8 commits
  9. 28 Mar, 2022 2 commits
  10. 24 Mar, 2022 2 commits
    • Gaël Bonithon's avatar
      XfceShortcutsGrabber: Fix `-Wanalyzer-null-dereference` warning · 502779a2
      Gaël Bonithon authored
      This ensures that `get_entries_for_keyval()` returns `FALSE` if and only
      if `keys == NULL && n_keys == 0`, thus avoiding possible null pointer
      dereference later.
      502779a2
    • Gaël Bonithon's avatar
      Secure memory allocations · 4dc280f8
      Gaël Bonithon authored
      * Use GLib functions to avoid having to check if the call succeeded. In
        particular, this removes warnings from the GCC static analyzer
        (`-fanalyzer` option).
      * Among these functions, prefer `g_new()` to avoid overflow when
        calculating the size of the allocated block with some optimizations,
        and improve readability.
      4dc280f8
  11. 22 Mar, 2022 2 commits
  12. 16 Mar, 2022 1 commit
  13. 15 Mar, 2022 5 commits
  14. 13 Mar, 2022 1 commit
  15. 11 Mar, 2022 2 commits
  16. 28 Feb, 2022 1 commit
  17. 24 Feb, 2022 1 commit
  18. 21 Feb, 2022 5 commits
  19. 02 Feb, 2022 1 commit