Changeset View
Changeset View
Standalone View
Standalone View
plugins/scenes/xrender/scene_xrender.cpp
Show First 20 Lines • Show All 462 Lines • ▼ Show 20 Line(s) | 459 | if (((client && !client->noBorder()) || (deleted && !deleted->noBorder())) && | |||
---|---|---|---|---|---|
463 | if (toplevel->shape()) { | 463 | if (toplevel->shape()) { | ||
464 | // "xeyes" + decoration | 464 | // "xeyes" + decoration | ||
465 | transformed_shape -= cr; | 465 | transformed_shape -= cr; | ||
466 | transformed_shape += shape(); | 466 | transformed_shape += shape(); | ||
467 | } | 467 | } | ||
468 | } else { | 468 | } else { | ||
469 | transformed_shape = shape(); | 469 | transformed_shape = shape(); | ||
470 | } | 470 | } | ||
471 | if (toplevel->hasShadow()) | 471 | if (toplevel->shadow()) { | ||
472 | transformed_shape |= toplevel->shadow()->shadowRegion(); | 472 | transformed_shape |= toplevel->shadow()->shadowRegion(); | ||
473 | } | ||||
473 | 474 | | |||
474 | xcb_render_transform_t xform = { | 475 | xcb_render_transform_t xform = { | ||
475 | DOUBLE_TO_FIXED(1), DOUBLE_TO_FIXED(0), DOUBLE_TO_FIXED(0), | 476 | DOUBLE_TO_FIXED(1), DOUBLE_TO_FIXED(0), DOUBLE_TO_FIXED(0), | ||
476 | DOUBLE_TO_FIXED(0), DOUBLE_TO_FIXED(1), DOUBLE_TO_FIXED(0), | 477 | DOUBLE_TO_FIXED(0), DOUBLE_TO_FIXED(1), DOUBLE_TO_FIXED(0), | ||
477 | DOUBLE_TO_FIXED(0), DOUBLE_TO_FIXED(0), DOUBLE_TO_FIXED(1) | 478 | DOUBLE_TO_FIXED(0), DOUBLE_TO_FIXED(0), DOUBLE_TO_FIXED(1) | ||
478 | }; | 479 | }; | ||
479 | static const xcb_render_transform_t identity = { | 480 | static const xcb_render_transform_t identity = { | ||
480 | DOUBLE_TO_FIXED(1), DOUBLE_TO_FIXED(0), DOUBLE_TO_FIXED(0), | 481 | DOUBLE_TO_FIXED(1), DOUBLE_TO_FIXED(0), DOUBLE_TO_FIXED(0), | ||
▲ Show 20 Lines • Show All 866 Lines • Show Last 20 Lines |