Merge pull request #163 from DreamMaoMao/fix

fix: crash when run maomao in other compositor
This commit is contained in:
DreamMaoMao 2025-07-08 08:58:53 +08:00 committed by GitHub
commit 932192ee53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3531,13 +3531,7 @@ void incovgaps(const Arg *arg) {
void requestmonstate(struct wl_listener *listener, void *data) {
struct wlr_output_event_request_state *event = data;
Monitor *m = wl_container_of(listener, m, frame);
wlr_output_commit_state(event->output, event->state);
if (blur) {
wlr_scene_node_set_position(&m->blur->node, m->m.x, m->m.y);
wlr_scene_optimized_blur_set_size(m->blur, m->m.width, m->m.height);
}
updatemons(NULL, NULL);
}