Skip to content

Commit

Permalink
merge patch from @Vizs (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
ix committed Apr 26, 2020
1 parent 057af15 commit 3f35f22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crud.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ int main(int argc, char **argv) {
XNextEvent(display, &event);
switch (event.type) {
case ButtonPress:
if (event.xbutton.button == Button3)
return 1;
button_state = true;
x = start_x = event.xbutton.x_root;
y = start_y = event.xbutton.y_root;
Expand Down

0 comments on commit 3f35f22

Please sign in to comment.