mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-16 00:19:55 +00:00
dixChangeGC callers: Use ChangeGCVal instead of XID almost everywhere.
The exceptions are ProcChangeGC and CreateGC. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
95728ca09d
commit
e2929db7b7
22 changed files with 181 additions and 164 deletions
|
|
@ -250,7 +250,9 @@ fbSetFg (DrawablePtr pDrawable,
|
|||
{
|
||||
if (fg != pGC->fgPixel)
|
||||
{
|
||||
dixChangeGC (NullClient, pGC, GCForeground, &fg, NULL);
|
||||
ChangeGCVal val;
|
||||
val.val = fg;
|
||||
dixChangeGC (NullClient, pGC, GCForeground, NULL, &val);
|
||||
ValidateGC (pDrawable, pGC);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue