View | Details | Raw Unified | Return to bug 432313
Collapse All | Expand All

(-)a/src/colorfilter/colorfilter.c (-3 / +3 lines)
Lines 422-435 colorFilterDrawWindowTexture (CompWindow *w, CompTexture *texture, Link Here
422
 * Filter windows when they are open if they match the filtering rules
422
 * Filter windows when they are open if they match the filtering rules
423
 */
423
 */
424
static void
424
static void
425
colorFilterWindowAdd (CompScreen *s,
425
colorFilterWindowAdd (CompObject *parent,
426
		      CompWindow *w)
426
		      CompWindow *w)
427
{
427
{
428
    FILTER_SCREEN (s);
428
    FILTER_SCREEN (w->screen);
429
429
430
    /* cfw->isFiltered is initialized to FALSE in InitWindow, so we only
430
    /* cfw->isFiltered is initialized to FALSE in InitWindow, so we only
431
       have to toggle it to TRUE if necessary */
431
       have to toggle it to TRUE if necessary */
432
    if (cfs->isFiltered && matchEval (colorfilterGetFilterMatch (s), w))
432
    if (cfs->isFiltered && matchEval (colorfilterGetFilterMatch (w->screen), w))
433
	colorFilterToggleWindow (w);
433
	colorFilterToggleWindow (w);
434
}
434
}
435
435

Return to bug 432313