]> git.mdlowis.com Git - proto/labwc.git/commit
node.c: add helpers for returning structs from node data
authorJohan Malm <jgm323@gmail.com>
Wed, 2 Mar 2022 22:05:41 +0000 (22:05 +0000)
committerJohan Malm <jgm323@gmail.com>
Wed, 2 Mar 2022 22:05:41 +0000 (22:05 +0000)
commitb4cbc20e8c50c5f553272780cf5484c90c869fa0
tree7da46bcc69bb73e010a45057ff4a370b04908081
parent30298228e3a58d37dc9f9e2ca009d172d7ef9cea
node.c: add helpers for returning structs from node data

Support returning the following structs:
  - view from LAB_NODE_DESC_VIEW or LAB_NODE_DESC_XDG_POPUP
  - lab_layer_surface form LAB_NODE_DESC_LAYER_SURFACE
  - lab_layer_popup from LAB_NODE_DESC_LAYER_POPUP
include/node.h
src/debug.c
src/node.c