|
Lines 546-559
NEGDrawWindowTexture (CompWindow *w,
Link Here
|
| 546 |
} |
546 |
} |
| 547 |
|
547 |
|
| 548 |
static void |
548 |
static void |
| 549 |
NEGWindowAdd (CompScreen *s, |
549 |
NEGWindowAdd (CompObject *parent, |
| 550 |
CompWindow *w) |
550 |
CompWindow *w) |
| 551 |
{ |
551 |
{ |
| 552 |
NEG_SCREEN (s); |
552 |
NEG_SCREEN (w->screen); |
| 553 |
|
553 |
|
| 554 |
/* nw->isNeg is initialized to FALSE in InitWindow, so we only |
554 |
/* nw->isNeg is initialized to FALSE in InitWindow, so we only |
| 555 |
have to toggle it to TRUE if necessary */ |
555 |
have to toggle it to TRUE if necessary */ |
| 556 |
if (ns->isNeg && matchEval (negGetNegMatch (s), w)) |
556 |
if (ns->isNeg && matchEval (negGetNegMatch (w->screen), w)) |
| 557 |
NEGToggle (w); |
557 |
NEGToggle (w); |
| 558 |
} |
558 |
} |
| 559 |
|
559 |
|