aboutsummaryrefslogtreecommitdiff
path: root/include/sway/surface.h
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-12-04 06:33:57 -0500
committerKirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commit9c17cba0b29979ae23c4521b884f7419fd558770 (patch)
treedb563b9ebcc9eda7afed3e5cd263fb13f531caac /include/sway/surface.h
parent0e1a02bf0aad3d743985602b55043c5de019d1f0 (diff)
renderer: Render scene_graph
Diffstat (limited to 'include/sway/surface.h')
-rw-r--r--include/sway/surface.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/sway/surface.h b/include/sway/surface.h
index a7a8ec3f..81eb80d5 100644
--- a/include/sway/surface.h
+++ b/include/sway/surface.h
@@ -2,20 +2,6 @@
#define _SWAY_SURFACE_H
#include <wlr/types/wlr_compositor.h>
-struct sway_surface {
- struct wlr_surface *wlr_surface;
-
- struct wl_listener destroy;
-
- /**
- * This timer can be used for issuing delayed frame done callbacks (for
- * example, to improve presentation latency). Its handler is set to a
- * function that issues a frame done callback to this surface.
- */
- struct wl_event_source *frame_done_timer;
-};
-
-void surface_update_outputs(struct wlr_surface *surface);
void surface_enter_output(struct wlr_surface *surface,
struct sway_output *output);
void surface_leave_output(struct wlr_surface *surface,