mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 18:05:58 +01:00
events: guard output in change
This commit is contained in:
parent
25d3d73dbf
commit
f5669a7d6b
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ void Events::listener_change(wl_listener* listener, void* data) {
|
|||
const auto CONFIG = wlr_output_configuration_v1_create();
|
||||
|
||||
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||
if (!m->output)
|
||||
continue;
|
||||
|
||||
const auto CONFIGHEAD = wlr_output_configuration_head_v1_create(CONFIG, m->output);
|
||||
|
||||
// TODO: clients off of disabled
|
||||
|
|
Loading…
Reference in a new issue