mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 13:04:11 +01:00
Fix white screen due to bad cast
This commit is contained in:
parent
a776ecbb86
commit
50219564c2
@ -271,9 +271,8 @@ renderer_end:
|
|||||||
static void damage_handle_frame(struct wl_listener *listener, void *data) {
|
static void damage_handle_frame(struct wl_listener *listener, void *data) {
|
||||||
struct sway_output *output =
|
struct sway_output *output =
|
||||||
wl_container_of(listener, output, damage_frame);
|
wl_container_of(listener, output, damage_frame);
|
||||||
struct wlr_output *wlr_output = data;
|
|
||||||
|
|
||||||
if (!wlr_output->enabled) {
|
if (!output->wlr_output->enabled) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user