mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 05:40:35 +01:00
dix: move internal defines into colormap.c
These are really internal to colormap.c, so move them there.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1581>
(cherry picked from commit 7ba3fc3a54)
This commit is contained in:
parent
db65af7796
commit
289e0cd3d5
2 changed files with 8 additions and 7 deletions
|
|
@ -64,6 +64,14 @@ SOFTWARE.
|
|||
#include "privates.h"
|
||||
#include "xace.h"
|
||||
|
||||
#define REDMAP 0
|
||||
#define GREENMAP 1
|
||||
#define BLUEMAP 2
|
||||
#define PSEUDOMAP 3
|
||||
|
||||
#define AllocPrivate (-1)
|
||||
#define AllocTemporary (-2)
|
||||
|
||||
typedef int (*ColorCompareProcPtr) (EntryPtr /*pent */ ,
|
||||
xrgb * /*prgb */ );
|
||||
|
||||
|
|
|
|||
|
|
@ -51,13 +51,6 @@ SOFTWARE.
|
|||
#include "screenint.h"
|
||||
#include "window.h"
|
||||
|
||||
/* Passed internally in colormap.c */
|
||||
#define REDMAP 0
|
||||
#define GREENMAP 1
|
||||
#define BLUEMAP 2
|
||||
#define PSEUDOMAP 3
|
||||
#define AllocPrivate (-1)
|
||||
#define AllocTemporary (-2)
|
||||
#define DynamicClass 1
|
||||
|
||||
/* Values for the flags field of a colormap. These should have 1 bit set
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue