Compare commits
1 Commits
master
...
submit/war
Author | SHA1 | Date | |
---|---|---|---|
|
1ca125ad7d |
|
@ -43,6 +43,8 @@
|
||||||
|
|
||||||
#include <dix-config.h>
|
#include <dix-config.h>
|
||||||
|
|
||||||
|
#include "os/bug_priv.h"
|
||||||
|
|
||||||
#include "compint.h"
|
#include "compint.h"
|
||||||
|
|
||||||
static Bool
|
static Bool
|
||||||
|
@ -133,6 +135,8 @@ compHandleMarkedWindows(WindowPtr pWin, WindowPtr pLayerWin)
|
||||||
int
|
int
|
||||||
compRedirectWindow(ClientPtr pClient, WindowPtr pWin, int update)
|
compRedirectWindow(ClientPtr pClient, WindowPtr pWin, int update)
|
||||||
{
|
{
|
||||||
|
BUG_RETURN_VAL(!pClient, BadMatch);
|
||||||
|
|
||||||
CompWindowPtr cw = GetCompWindow(pWin);
|
CompWindowPtr cw = GetCompWindow(pWin);
|
||||||
CompClientWindowPtr ccw;
|
CompClientWindowPtr ccw;
|
||||||
CompScreenPtr cs = GetCompScreen(pWin->drawable.pScreen);
|
CompScreenPtr cs = GetCompScreen(pWin->drawable.pScreen);
|
||||||
|
@ -323,6 +327,8 @@ compUnredirectWindow(ClientPtr pClient, WindowPtr pWin, int update)
|
||||||
CompWindowPtr cw = GetCompWindow(pWin);
|
CompWindowPtr cw = GetCompWindow(pWin);
|
||||||
CompClientWindowPtr ccw;
|
CompClientWindowPtr ccw;
|
||||||
|
|
||||||
|
BUG_RETURN_VAL(!pClient, BadValue);
|
||||||
|
|
||||||
if (!cw)
|
if (!cw)
|
||||||
return BadValue;
|
return BadValue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue