From 85ac3d31474e48d0e84d2dd03b369e0e559e007e Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 29 Jan 2023 11:51:44 +0100 Subject: FLUID: defer calling Fl::add_fd. --- fluid/ExternalCodeEditor_UNIX.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fluid/ExternalCodeEditor_UNIX.h') diff --git a/fluid/ExternalCodeEditor_UNIX.h b/fluid/ExternalCodeEditor_UNIX.h index 87feba850..fd3a93b7b 100644 --- a/fluid/ExternalCodeEditor_UNIX.h +++ b/fluid/ExternalCodeEditor_UNIX.h @@ -27,6 +27,7 @@ class ExternalCodeEditor { Fd_String command_line_; int last_error_; int alert_pipe_[2]; + bool alert_pipe_open_; static void alert_pipe_cb(FL_SOCKET, void*); protected: @@ -35,6 +36,7 @@ protected: const char *tmp_filename(); int start_editor(const char *cmd, const char *filename); void set_filename(const char *val); + void open_alert_pipe(); public: ExternalCodeEditor(); -- cgit v1.2.3