labwc/include
John Lindgren 4da37c6532 view: Move xdg_surface + xwayland_surface to derived structs
Add xdg_surface_from_view() + xwayland_surface_from_view() accessors
that assert() the view is of the expected type before returning.

Fix a real bug in xdg.c parent_of() that dereferenced
`view->xdg_surface->toplevel` without first checking `view->type`.

The goal of the new accessors is to catch similar bugs in future.
2022-11-25 22:21:17 +00:00
..
common include: Break out view.h from labwc.h 2022-11-21 21:42:37 +00:00
config Support smooth scroll and horizontal scroll 2022-11-15 21:57:36 +00:00
menu menu: support <separator /> 2022-06-25 14:56:35 +02:00
private action: Fix warning about freeing a (const char *) 2022-09-17 10:57:30 -04:00
xbm Prepare to move from wlr_texture to lab_data_buffer 2022-02-23 21:47:01 +00:00
action.h Fix coding style 2022-11-03 23:01:52 +01:00
buffer.h src/buffer: Automatically adapt to scale attribute 2022-06-14 22:03:08 +01:00
cursor.h cursor: Use enum for server set cursor names 2022-09-16 21:30:40 +01:00
debug.h Add debug_dump_scene() 2022-02-23 21:47:01 +00:00
dnd.h cursor: Restore drag icon after the move to scene-graph 2022-10-17 21:22:12 +01:00
key-state.h seat: only pass on sent keys on surface-focus 2022-09-21 21:25:13 +01:00
labwc.h include: Break out view.h from labwc.h 2022-11-21 21:42:37 +00:00
layers.h Chase wlroots: every scene_node parent is now a tree 2022-06-07 07:13:37 +01:00
meson.build Make xwayland support optional 2020-12-30 10:29:21 +00:00
node.h src/ssd: Convert button node descriptors to struct ssd_button 2022-06-09 22:04:35 +01:00
resistance.h Add SPDX identifiers 2021-11-13 21:56:53 +00:00
ssd.h view/ssd: Move ssd->enabled to view->ssd_enabled 2022-11-22 09:17:33 +01:00
theme.h menu: support <separator /> 2022-06-25 14:56:35 +02:00
view.h view: Move xdg_surface + xwayland_surface to derived structs 2022-11-25 22:21:17 +00:00
workspaces.h view: Rename/move workspaces_send_to() to view_move_to_workspace() 2022-11-22 09:17:33 +01:00