1. 05 Jul, 2016 1 commit
  2. 21 Jun, 2016 1 commit
    • Mike Gabriel's avatar
      Move each screen's root-window pointer into ScreenRec. · c61bb8cc
      Mike Gabriel authored
       Backported from X.org:
      
       commit e7fae9ecc42ab5e73b89117722dbf4117d928f9a
       Author: Jamey Sharp <jamey@minilop.net>
       Date:   Sat May 22 00:26:28 2010 -0700
      
          Move each screen's root-window pointer into ScreenRec.
      
          Many references to the WindowTable array already had the corresponding
          screen pointer handy, which meant they usually looked like
          "WindowTable[pScreen->myNum]". Adding a field to ScreenRec instead of
          keeping this information in a parallel array simplifies those
          expressions, and eliminates a MAXSCREENS-sized array.
      
          Since dix uses this data, a screen private entry isn't appropriate.
      
          xf86-video-dummy currently uses WindowTable, so it needs to be updated
          to reflect this change.
      Signed-off-by: 's avatarJamey Sharp <jamey@minilop.net>
      Reviewed-by: 's avatarTiago Vignatti <tiago.vignatti@nokia.com>
          Tested-by: Tiago Vignatti <tiago.vignatti@nokia.com> (i686 GNU/Linux)
      
       Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
      c61bb8cc
  3. 02 May, 2016 1 commit
    • Mike Gabriel's avatar
      Rename region macros to eliminate screen argument · 63f1fff8
      Mike Gabriel authored
      This is a huge mechanical patch and a few small fixups required to finish
      the job. They were reviewed separately, but because the server does not
      build without both pieces, I've merged them together at this time.
      
      The mechanical changes were performed by running the included
      'fix-region' script over the whole nx-X11/programs/Xserver tree:
      
      $ cd nx-X11/programs/Xserver && ( git ls-files | grep -v '^fix-' | xargs ./fix-region; )
      
      And then, the white space errors in the resulting patch were fixed
      using the provided fix-patch-whitespace script.
      
      $ sh ./fix-patch-whitespace
      
      Thanks to Jamey Sharp for the mighty fine sed-generating sed script.
      
      v1: Keith Packard <keithp@keithp.com> (X.Org xserver commit: 2dc138922b7588515d5f2447e4b9dcdc0bef15e0)
      v2: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> (apply fix-region script to nx-libs)
      63f1fff8
  4. 28 Dec, 2015 2 commits
    • Mike Gabriel's avatar
      Clear header file namespace separation (<X11/...> vs. <nx-X11/...>). · 433d8186
      Mike Gabriel authored
       In the process of building nxagent against more and more system-wide installed
       X.org libraries, we come to the limit of including structs from this (bundled
       nx-X11) and that (system-wide X.Org) library.
      
       This commit introduces a clear namespace separation of headers provided by
       nx-X11 and headers provided by X.Org. This approach is only temporary as we
       want to drop all nx-X11 bundled libraries from nx-libs.
      
       However, for a while we need to make this separation clear and also ship
       some reduced fake X.Org headers that avoid pulling in libX* and libNX_X*
       symbols at the same time.
      
       This patch has been tested on Debian jessie and unstable and requires no
       overall testing on various distros and distro versions, as we finally will
       drop all libNX_X* libraries and build against X.org's client libs.
      
       For now, this hack eases our development / cleanup process.
      433d8186
    • Keith Packard's avatar
      Replace 'pointer' type with 'void *' · 68dd0b52
      Keith Packard authored
       This lets us stop using the 'pointer' typedef in Xdefs.h as 'pointer'
       is used throughout the X server for other things, and having duplicate
       names generates compiler warnings.
      Signed-off-by: 's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: 's avatarEric Anholt <eric@anholt.net>
       Rebased against NX: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
      68dd0b52
  5. 10 Oct, 2011 1 commit