simple-touch: Exit on xdg_toplevel::close
All threads resolved!
All threads resolved!
Compare changes
- Link Mauve authored
This makes it possible to close this client without using a terminal, especially useful on a phone. Signed-off-by:
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+ 7
− 2
@@ -63,9 +63,10 @@ struct touch {
@@ -349,6 +350,8 @@ handle_toplevel_configure(void *data, struct xdg_toplevel *xdg_toplevel,
@@ -404,6 +407,8 @@ touch_create(int width, int height)
@@ -438,7 +443,7 @@ main(int argc, char **argv)