Skip to content

Commit

Permalink
consistent naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
N-R-K committed Nov 13, 2024
1 parent 791b8a0 commit 5ed4a99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/selection_edge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit 5ed4a99

Please sign in to comment.