diff --git a/src/selection_edge.c b/src/selection_edge.c index fcf0e2c..7d2fba8 100644 --- a/src/selection_edge.c +++ b/src/selection_edge.c @@ -120,13 +120,13 @@ void selectionEdgeDestroy(void) if (pe->wndDraw != None) { XSelectInput(disp, pe->wndDraw, StructureNotifyMask); XDestroyWindow(disp, pe->wndDraw); - bool is_unmapped = !pe->isMapped, is_destroyed = false; - for (XEvent ev; !(is_unmapped && is_destroyed);) { + bool isUnmapped = !pe->isMapped, isDestroyed = false; + for (XEvent ev; !(isUnmapped && isDestroyed);) { XNextEvent(disp, &ev); if (ev.type == DestroyNotify && ev.xdestroywindow.window == pe->wndDraw) - is_destroyed = true; + isDestroyed = true; if (ev.type == UnmapNotify && ev.xunmap.window == pe->wndDraw) - is_unmapped = true; + isUnmapped = true; } } }