aboutsummaryrefslogtreecommitdiff
path: root/protocol/wlr-data-control-unstable-v1.xml
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2021-08-28 14:14:16 -0500
committerSimon Ser <contact@emersion.fr>2021-09-02 19:05:02 +0200
commit9ed16e39faad3e4a61a788a0772cee4645bc259d (patch)
tree52253eff56daddea3532fe8c8241b0c2b0936bdf /protocol/wlr-data-control-unstable-v1.xml
parentb7cd06e8fa1d51c36f81040ca818cccfb9e5f56e (diff)
scene: replace surface_at() with node_at()
With the addition of a non-surface node type, it was unclear how such nodes should interact with scene_node_surface_at(). For example, if the topmost node at the given point is a RECT, should the function treat that node as transparent and continue searching, or as opaque and return (probably) NULL? Instead, replace the function with one returning a scene_node, which will allow for more consistent behavior across different node types. Compositors can downcast scene_surface nodes via the now-public wlr_scene_surface_from_node() if they need access to the surface itself.
Diffstat (limited to 'protocol/wlr-data-control-unstable-v1.xml')
0 files changed, 0 insertions, 0 deletions