1. 09 Apr, 2019 1 commit
  2. 06 Feb, 2019 2 commits
    • Eric Toombs's avatar
      weston: add more libinput config options · 6e229ca2
      Eric Toombs authored
      This is so that, for instance, people using weston as their main Wayland
      compositor can invert the sense of two finger scrolling or change
      pointer acceleration using weston.ini, rather than having to edit C
      code.
      
      All of the options that libinput itself exposes through its API are now
      exposed in weston.ini.  The new options are called `tap-and-drag`,
      `tap-and-drag-lock`, `disable-while-typing`, `middle-emulation`,
      `left-handed`, `rotation`, `accel-profile`, `accel-speed`,
      `scroll-method`, `natural-scroll`, and `scroll-button`. I have
      successfully tested everything except for `rotation`, out of a lack of
      hardware support.
      
      weston now depends directly on libevdev for turning button name strings into
      kernel input codes. This was needed for the `scroll-button` config
      option. (weston already depends indirectly on libevdev through
      libinput, so I figured people would be OK with this.) As a practical
      matter for debian-style packagers, weston now has a build dependency on
      libevdev-dev.
      
      Right now, the code applies the same options to all attached devices
      that a given option is relevant for. There are plans for multiple
      [libinput] sections, each with different device filters, for users who
      need more control here.
      Signed-off-by: Eric Toombs's avatarEric Toombs <3672-ewtoombs@users.noreply.gitlab.freedesktop.org>
      6e229ca2
    • Eric Toombs's avatar
      weston: deprecate enable_tap in favour of enable-tap · 9d222038
      Eric Toombs authored
      This is to increase consistency in config option naming in weston.ini.
      (Prefer hyphens over underscores to separate words.)
      
      If enable_tap is present in weston.ini, an obnoxious error message is
      logged with weston_log(). In terms of configuration, if enable-tap is
      present, enable_tap is ignored.
      Signed-off-by: Eric Toombs's avatarEric Toombs <3672-ewtoombs@users.noreply.gitlab.freedesktop.org>
      9d222038
  3. 17 Jan, 2017 2 commits
  4. 22 Oct, 2016 1 commit
  5. 10 Mar, 2016 1 commit
    • Armin Krezović's avatar
      desktop-shell: make panel clock configurable · c6a55dbf
      Armin Krezović authored
      This patch enhances the panel clock by adding a config file
      option which can be used to either disable the clock or make
      it also show seconds in the current clock format.
      
      v2: Implement suggestions from Pekka:
          - Include Signed-off-by
          - Coding style fixes
          - Implement clock widget allocation by using
            width from cairo_text_extents
          - Highlight config option values in man page
      v3: Implement suggestions from Pekka and Bryce:
          - Use CLOCK_FORMAT_* instead of FORMAT_* in the enum
          - Switch to using fixed clock widget size instead
            of one returned from cairo_text_extents
          - Fixes to config option highlighting in the man page
      v4: Implement more suggestions from Pekka and Bryce:
          - Improve patch changelog
          - Move the check for CLOCK_FORMAT_NONE into the
            caller function
          - Fix a memory leak in panel_create introduced by
            previous revision of this patch
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57583Signed-off-by: default avatarArmin Krezović <armin.krezovic@fet.ba>
      Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      c6a55dbf
  6. 15 Oct, 2015 1 commit
  7. 22 Jun, 2015 1 commit
    • Pekka Paalanen's avatar
      desktop-shell: remove screensaver support · b37ac400
      Pekka Paalanen authored
      This is a follow-up for the patch that removed weston-screensaver. The
      aim is to clean up shell.c a little by removing non-essential
      components. Vanilla Weston desktop is only a demo, external projects are
      encouraged to create user-friendly desktop environments.
      
      The support for launching a screensaver client and the protocol bindings
      are removed. With them, all related configuration options are removed,
      and the manuals are updated accordingly.
      
      The screensaver protocol definition is left in desktop-shell.xml for
      posterity.
      
      This does not affect Weston's or desktop-shells ability to put screens
      to sleep after inactivity. The inactivity timer continues to operate as
      before. Also screen locking is unaffected.
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
      Acked-by: default avatarGiulio Camuffo <giuliocamuffo@gmail.com>
      b37ac400
  8. 15 Aug, 2014 1 commit
  9. 25 Jun, 2014 1 commit
    • Andrew Wedgbury's avatar
      screen-share: Allow fullscreen shell command to be configured · dfd9d0de
      Andrew Wedgbury authored
      I've updated this based on comments, simplifying the command handling.
      
      Currently the screen-share module uses a hard-coded command to start the
      fullscreen shell server. This patch causes the module to read the command from
      the weston config file (from the "command" key in the "screen-share" section).
      The default value remains the same (i.e. to run weston with the RDP backend and
      fullscreen shell), but is now located in the weston config file.
      
      As well as allowing the arguments to the fullscreen shell server to be changed,
      this also permits an alternative fullscreen shell server to be used if required,
      without needing to recompile. Since the command is run as the user running
      weston, this should not pose any additional security risk.
      Signed-off-by: default avatarAndrew Wedgbury <andrew.wedgbury@realvnc.com>
      dfd9d0de
  10. 24 Jun, 2014 2 commits
    • Jason Ekstrand's avatar
      Change the defacto output transform from flipped-270 to flipped-90 · 671a1442
      Jason Ekstrand authored
      It turns out that flipped-270 is the second-simplest transformation besides
      normal because it is a direct swapping of the x and y axes.  Having that as
      the default encourages people to use flipped-270 as the default test for "I
      want to try this with a transform".  Unfortunately, because flipped-270 is
      so simple, it is really easy to have something that works for normal,
      flipped-270, and nothing else.  This encourages people to test with a
      transform thats actually "hard".
      671a1442
    • Jason Ekstrand's avatar
      Fix a comment · 76f62360
      Jason Ekstrand authored
      76f62360
  11. 19 Feb, 2014 1 commit
  12. 28 Nov, 2013 1 commit
    • Neil Roberts's avatar
      Automatically generate weston.ini with the right paths · e3de16ea
      Neil Roberts authored
      Previously weston.ini had hardcoded paths for the weston-* clients in
      /usr/bin and /usr/libexec. This was a bit annoying when testing Weston
      because you wouldn't usually install those in the system prefix. This
      patch adds a make rule to automatically generate weston.ini from a
      template file with some replacement markers for the paths so that they
      can have the right prefix.
      e3de16ea
  13. 16 Oct, 2013 2 commits
  14. 23 Sep, 2013 1 commit
  15. 27 Aug, 2013 1 commit
  16. 13 Aug, 2013 1 commit
    • Armin K.'s avatar
      evdev-touchpad: Set some options using weston.ini · b502f906
      Armin K. authored
      This patch adds 3 new options to weston.ini to allow
      the user to change default constant_accel_factor,
      min_accel_factor and max_accel_factor. If no options
      are set, it falls back using defaults as it did before.
      
      v2: create weston_config_section_get_double and use it
      instead of manualy converting string to double.
      
      v3: add default values in weston_config_get_double
      instead of using conditionals.
      
      v4: don't pass diagonal as pointer.
      b502f906
  17. 14 May, 2013 1 commit
    • Richard Hughes's avatar
      Add a colord implementation of a CMS plugin for weston · be7c4dd2
      Richard Hughes authored
      This allows users to change the assigned display profile in GNOME (using
      gnome-control-center) or KDE (using colord-kde) and also allows the profiling
      tools to correctly inhibit the calibration state whilst measuring the native
      screen response.
      be7c4dd2
  18. 10 May, 2013 1 commit
  19. 01 May, 2013 1 commit
  20. 19 Mar, 2013 2 commits
  21. 19 Feb, 2013 1 commit
  22. 28 Nov, 2012 1 commit
    • Scott Moreau's avatar
      weston.ini: Introduce core section and remove type keys. · 0ea73333
      Scott Moreau authored
      Since a6813d28, there is no longer a "type" key in the [shell] config section.
      Instead the code accepts a [core] section with a modules key, containing a
      comma separated list of modules to load. This patch removes the type keys
      and adds a core section in the example weston.ini config file.
      0ea73333
  23. 27 Nov, 2012 1 commit
  24. 31 Aug, 2012 1 commit
  25. 29 Aug, 2012 1 commit
    • Scott Moreau's avatar
      Implement output transformations. · 1bad5db9
      Scott Moreau authored
      This patch allows rotation and mirroring outputs for x11 and drm backends.
      A new 'transform' key can be set in the [output] section. From the protocol:
      
      "The flipped values correspond to an initial flip around a vertical axis
      followed by rotation."
      
      The transform key can be one of the following 8 strings:
      
      normal
      90
      180
      270
      flipped
      flipped-90
      flipped-180
      flipped-270
      1bad5db9
  26. 16 Aug, 2012 1 commit
  27. 04 Aug, 2012 1 commit
    • Scott Moreau's avatar
      compositor-x11: Allow output configuration from config file. · 248aaecd
      Scott Moreau authored
      This patch provides a way to define outputs for the x11 backend. It
      parses [output] sections and checks for 'name' and 'mode' keys. The
      'name' must start with an 'X' to distinguish from drm output names.
      Command line options --width and --height supersede what is in the
      config file. When --output-count is passed, the number of outputs
      are limited or additional outputs added with default values.
      248aaecd
  28. 01 Aug, 2012 1 commit
    • Scott Moreau's avatar
      Add raw modeline support. · 8f37e0bc
      Scott Moreau authored
      This allows specifying a modeline in the config for the 'mode' key
      in the output section, such as one you would get from cvt.
      8f37e0bc
  29. 31 Jul, 2012 1 commit
    • Scott Moreau's avatar
      Allow output configuration from config file. · 8ab5d453
      Scott Moreau authored
      Parse the config file for [output] sections and check for 'name'
      and 'mode' keys. The key strings are compared to what is reported
      by weston log. The 'mode' key string can be one of the following:
      
      1) WIDTHxHEIGHT - one that is reported by weston log
      2) off - Disables the output
      3) preferred - Uses the preferred mode
      4) current - Uses the mode currently driving the crtc
      8ab5d453
  30. 27 Jul, 2012 1 commit
  31. 22 Jul, 2012 1 commit
  32. 25 Jun, 2012 1 commit
  33. 25 Apr, 2012 1 commit
  34. 20 Apr, 2012 1 commit
  35. 25 Mar, 2012 1 commit