1. 15 Sep, 2021 1 commit
    • Drew DeVault's avatar
      Xwayland: add DRM leasing support · 13f7aac9
      Drew DeVault authored
      This is based on the unstable DRM leasing protocol currently under
      review on wayland-devel. One unfortunate problem with this approach is
      that we have to open the DRM node ourselves and enumerate the modes of
      the connectors available for lease. We'll be able to refactor this
      somewhat once the kernel supports zero-object DRM leases, which I intend
      to implement in the near future.
      
      This takes the approach suggested by Pekka in which no attempt is made
      to correlate leasable connectors with a wl_output/xdg_output.
      Accordingly, this also assumes that all leasable connectors are
      non-desktop outputs.
      
      Successfully tested with xrgears -w direct and SteamVR on an HTC Vive.
      13f7aac9
  2. 20 Aug, 2021 2 commits
  3. 17 Aug, 2021 4 commits
    • Adam Jackson's avatar
      dmx: Fix some redeclaration warnings from gcc 11 · 1f720dc9
      Adam Jackson authored
      Of the form:
      
          ../hw/dmx/config/xdmxconfig.c:68:26: warning: redundant redeclaration of ‘dmxConfigEntry’ [-Wredundant-decls]
             68 | extern DMXConfigEntryPtr dmxConfigEntry;
                |                          ^~~~~~~~~~~~~~
      1f720dc9
    • Adam Jackson's avatar
      xkb: Silence a warning from gcc 11 · b49f0f9b
      Adam Jackson authored
      I get this:
      
          In function ‘TryCopyStr’,
              inlined from ‘CopyISOLockArgs’ at ../xkb/xkbtext.c:875:9:
          ../xkb/xkbtext.c:720:13: warning: ‘tbuf’ may be used uninitialized [-Wmaybe-uninitialized]
            720 |             strcat(to, from);
                |             ^~~~~~~~~~~~~~~~
          ../xkb/xkbtext.c: In function ‘CopyISOLockArgs’:
          <built-in>: note: by argument 1 of type ‘const char *’ to ‘__builtin_strlen’ declared here
          ../xkb/xkbtext.c:871:10: note: ‘tbuf’ declared here
            871 |     char tbuf[64];
                |          ^~~~
      
      Just initialize tbuf so it definitely works.
      b49f0f9b
    • Adam Jackson's avatar
      xinput: Silence a warning from gcc 11 · c1138d8e
      Adam Jackson authored
      [45/388] Compiling C object Xi/liblibxserver_xi.a.p/xichangehierarchy.c.o
      ../Xi/xichangehierarchy.c:61:32: warning: argument 1 of type ‘int[256]’ with mismatched bound [-Warray-parameter=]
         61 | XISendDeviceHierarchyEvent(int flags[MAXDEVICES])
            |                            ~~~~^~~~~~~~~~~~~~~~~
      In file included from ../Xi/xichangehierarchy.c:54:
      ../Xi/xichangehierarchy.h:42:37: note: previously declared as ‘int[]’
         42 | void XISendDeviceHierarchyEvent(int flags[]);
            |                                 ~~~~^~~~~~~
      c1138d8e
    • Adam Jackson's avatar
      selinux: Stop using security_context_t · f3a98334
      Adam Jackson authored
      This is apparently deprecated now and is and was always just char *.
      f3a98334
  4. 12 Aug, 2021 1 commit
  5. 08 Aug, 2021 1 commit
  6. 07 Aug, 2021 1 commit
  7. 06 Aug, 2021 7 commits
  8. 31 Jul, 2021 1 commit
  9. 30 Jul, 2021 4 commits
  10. 29 Jul, 2021 1 commit
    • Boris-Barboris's avatar
      Don't hardcode fps for fake screen · 16571b89
      Boris-Barboris authored and Povilas Kanapickas's avatar Povilas Kanapickas committed
      
      
      Currently, when main hardware screen is powered-off,
      X server initializes fake screen's timer with
      1 second update interval.
      
      Streaming software like Nomachine or Vnc, as well as
      desktop input automation suffers from it, since it
      will forever be stuck on 1 fps until the display is
      turned back on.
      
      This commit adds command line option -fakescreenfps <int>
      that allows the user to change the default fake screen
      timer.
      Signed-off-by: Boris-Barboris's avatarBaranin Alexander <ismailsiege@gmail.com>
      16571b89
  11. 22 Jul, 2021 1 commit
  12. 20 Jul, 2021 1 commit
  13. 09 Jul, 2021 15 commits