Skip to content

Commit

Permalink
wlr_scene: set clip accepts null to clear the clip
Browse files Browse the repository at this point in the history
  • Loading branch information
ifreund committed Feb 10, 2024
1 parent aae7f23 commit 55e8bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/scene.zig
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub const SceneNode = extern struct {
extern fn wlr_scene_node_set_position(node: *SceneNode, x: c_int, y: c_int) void;
pub const setPosition = wlr_scene_node_set_position;

extern fn wlr_scene_subsurface_tree_set_clip(node: *SceneNode, clip: *wlr.Box) void;
extern fn wlr_scene_subsurface_tree_set_clip(node: *SceneNode, clip: ?*wlr.Box) void;
pub const subsurfaceTreeSetClip = wlr_scene_subsurface_tree_set_clip;
};

Expand Down

0 comments on commit 55e8bb8

Please sign in to comment.