diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-03-25 00:40:47 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-03-25 00:40:47 +0100 |
| commit | 8b0902af0ba4bbd0241150ec52cc1c77686a8605 (patch) | |
| tree | 3b5bd75aaa9668cfafd1b6ab8db8be279e0620b2 | |
| parent | 39d524489eb8996c9bf7d292bf6df3c022adccf7 (diff) | |
add NULL monitor to config to prevent crash on unkown monitor
| -rw-r--r-- | config.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -37,6 +37,7 @@ static const MonitorRule monrules[] = { { "DP-2", 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0 }, { "DP-3", 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 1920, 0 }, { "HDMI-A-1", 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 3840, 0 }, + { NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, }; /* keyboard */ |