Issue: Geany is closing when i3 is restarted.
Steps to reproduce: 1. Open geany 2. Restart i3 repeatedly using keybind $mod+Shift+r (default) 3. Geany will then close
Error message: `(geany:6353): Gdk-ERROR **: The program 'geany' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 7012 error_code 3 request_code 2 (core protocol) minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Trace/breakpoint trap (core dumped)`
Details: - OS: Arch Linux - Kernel: 4.14.15-1-ARCH - Geany: 1.32 (built on 2018-01-29 with GTK 3.22.26, GLib 2.54.3) - i3: 4.14.1 (2017-09-24)
Please let me know if you need any additional information. I'm happy to help. Thank you.