mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01: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();
|
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) {
|
void handle_new_output(struct wl_listener *listener, void *data) {
|
||||||
struct sway_server *server = wl_container_of(listener, server, new_output);
|
struct sway_server *server = wl_container_of(listener, server, new_output);
|
||||||
struct wlr_output *wlr_output = data;
|
struct wlr_output *wlr_output = data;
|
||||||
|
Loading…
Reference in New Issue
Block a user