mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00:00
Remove unused output_from_wlr_output
This commit is contained in:
parent
fe0750fec1
commit
9951b2ec33
|
@ -534,10 +534,6 @@ static void handle_scale(struct wl_listener *listener, void *data) {
|
|||
transaction_commit_dirty();
|
||||
}
|
||||
|
||||
struct sway_output *output_from_wlr_output(struct wlr_output *wlr_output) {
|
||||
return wlr_output->data;
|
||||
}
|
||||
|
||||
void handle_new_output(struct wl_listener *listener, void *data) {
|
||||
struct sway_server *server = wl_container_of(listener, server, new_output);
|
||||
struct wlr_output *wlr_output = data;
|
||||
|
|
Loading…
Reference in a new issue