diff options
Diffstat (limited to 'mcwm.c')
-rw-r--r-- | mcwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1013,7 +1013,7 @@ void newwin(xcb_window_t win) * Window coordinates are outside all physical monitors. * Choose the first screen. */ - if (NULL != monlist->data) + if (NULL != monlist) { client->monitor = monlist->data; } @@ -1614,7 +1614,7 @@ void getoutputs(xcb_randr_output_t *outputs, int len, xcb_timestamp_t timestamp) { if (NULL == client->monitor->item->next) { - if (NULL == monlist->data) + if (NULL == monlist) { client->monitor = NULL; } |