diff options
author | GhostNaN <GhostNaN@protonmail.com> | 2020-08-19 20:54:55 -0400 |
---|---|---|
committer | GhostNaN <GhostNaN@protonmail.com> | 2020-08-19 20:54:55 -0400 |
commit | 86ecdb5e63300282e11e772acb36ed69cf280c29 (patch) | |
tree | 41007b741cd077e03ae2e74693979b309f5ae2f2 | |
parent | 3d03ab86470a6c076fd18846bc11ecf235b9ca19 (diff) |
Forgot strcmp1.0
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -213,7 +213,7 @@ static void destroy_display_output(struct display_output *output) { if (output->surface != NULL) { wl_surface_destroy(output->surface); } - if (egl_display && output->name == output->state->monitor) { + if (egl_display && strcmp(output->name,output->state->monitor) == 0) { eglDestroySurface(egl_display, egl_surface); wl_egl_window_destroy(egl_window); } |