aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/surface.c
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2020-03-02 12:40:19 +0100
committerLibravatar Drew DeVault <sir@cmpwn.com>2020-03-04 03:09:43 +0100
commitc0811fcf8736961725f7aa848e740f38f2bdf6ed (patch)
treec5d361234a4c4fc4225526791153324e91cd0dbf /sway/desktop/surface.c
parentipc-server: improve error message (diff)
downloadsway-c0811fcf8736961725f7aa848e740f38f2bdf6ed.tar.gz
sway-c0811fcf8736961725f7aa848e740f38f2bdf6ed.tar.zst
sway-c0811fcf8736961725f7aa848e740f38f2bdf6ed.zip
Make handle_destroy and output_repaint_timer_handler static
Diffstat (limited to 'sway/desktop/surface.c')
-rw-r--r--sway/desktop/surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/surface.c b/sway/desktop/surface.c
index 35af2870..767b2045 100644
--- a/sway/desktop/surface.c
+++ b/sway/desktop/surface.c
@@ -5,7 +5,7 @@
5#include "sway/server.h" 5#include "sway/server.h"
6#include "sway/surface.h" 6#include "sway/surface.h"
7 7
8void handle_destroy(struct wl_listener *listener, void *data) { 8static void handle_destroy(struct wl_listener *listener, void *data) {
9 struct sway_surface *surface = wl_container_of(listener, surface, destroy); 9 struct sway_surface *surface = wl_container_of(listener, surface, destroy);
10 10
11 surface->wlr_surface->data = NULL; 11 surface->wlr_surface->data = NULL;