aboutsummaryrefslogtreecommitdiff
path: root/include/extensions.h
AgeCommit message (Collapse)Author
2015-12-20extensions: Track panels by wl_resource, position per panel.S. Christoffer Eliesen
Track each panel separately via its wl_resource. `set_panel_position` might be called before `set_panel`, so reuse panel config. Place the position in panel_config so that each panel has its own position.
2015-12-20extensions: panel_config->resource => wl_surface_res.S. Christoffer Eliesen
Change the name to something less ambigious.
2015-12-18Add shims for swaylock on compositorDrew DeVault
2015-12-10Include wayland-server.h instead of -core.hDrew DeVault
2015-12-03Add swaylock protocol, add resource destructorsDrew DeVault
This prevents sway crashing if swaybg or swaybar dies.
2015-11-29Support desktop shell panels in compositorDrew DeVault
2015-11-19Fix background extensionsDrew DeVault
Thanks @Cloudef, it works great
2015-11-18Add background handlingDrew DeVault
This does not work as expected. I think the problem is on the wlc side. Please review, @Cloudef. To reproduce the issues: 1. Run sway 2. Open terminal in sway 3. Run swaybg swaybg will create a surface and ask to have it set as the background, but wlc_handle_from_wl_surface_resource will return 0. If the swaybg surface is a shell surface, then it works - but wlc complains about the pointer type and segfaults as soon as the pre-render hook tries to draw the background.
2015-11-18Basic support for extensions in server and clientsDrew DeVault