1. 28 Aug, 2021 2 commits
    • Demi Marie Obenour's avatar
      Use a bundled protocol definition struct · 44a153f8
      Demi Marie Obenour authored
      This is necessary for the X server to build if the protocol headers are
      old, so that I can get testing on the CI.
    • Demi Marie Obenour's avatar
      Add extended shared memory attach structure · 993f2925
      Demi Marie Obenour authored
      This provides an extended version of `X_ShmAttachFd`, called
      `X_ShmAttachFdExt`, which allows the client to specify two additional
      1. The size of the mapping, in bytes.
      2. The offset that should be passed to `mmap`, in bytes.
      The intended use-case for this extension is when one needs to map
      a drawable from a character special device, but it can also be
      used with regular files if one needs to map with a nonzero offset.
      Qubes OS needs the X server to map the `/dev/xen/gntdev` character
      device, which represents memory shared from a different virtual
      machine.  This is currently accomplished with an `LD_PRELOAD`’d
      shared library that overrides `shmat`, `shmctl`, and `shmdt`, and
      I have written a version that instead overrides `fstat` and `mmap`.
      With this extension, the preloaded shared library will not be required.
  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;
                |                          ^~~~~~~~~~~~~~
    • 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.
    • 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[]);
            |                                 ~~~~^~~~~~~
    • 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 *.
  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
      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
      Signed-off-by: Boris-Barboris's avatarBaranin Alexander <ismailsiege@gmail.com>
  11. 22 Jul, 2021 1 commit
  12. 20 Jul, 2021 1 commit
  13. 09 Jul, 2021 14 commits