View: don't clip off CSD shadow and the like
Instead just clip to the output dimensions as originally intended.
This commit is contained in:
parent
653b5c6660
commit
2bdbe414e8
@ -335,8 +335,7 @@ pub fn updateCurrent(view: *Self) void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
var surface_clip: wlr.Box = undefined;
|
var surface_clip: wlr.Box = output_box;
|
||||||
_ = surface_clip.intersection(box, &output_box);
|
|
||||||
|
|
||||||
// The clip is applied relative to the root node of the subsurface tree.
|
// The clip is applied relative to the root node of the subsurface tree.
|
||||||
surface_clip.x -= box.x;
|
surface_clip.x -= box.x;
|
||||||
|
Loading…
Reference in New Issue
Block a user