mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59:51 -05:00
Make handle_destroy and output_repaint_timer_handler static
This commit is contained in:
parent
476773dd32
commit
c0811fcf87
3 changed files with 2 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include "sway/server.h"
|
||||
#include "sway/surface.h"
|
||||
|
||||
void handle_destroy(struct wl_listener *listener, void *data) {
|
||||
static void handle_destroy(struct wl_listener *listener, void *data) {
|
||||
struct sway_surface *surface = wl_container_of(listener, surface, destroy);
|
||||
|
||||
surface->wlr_surface->data = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue