diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-01-29 11:51:44 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-01-29 11:51:55 +0100 |
| commit | 85ac3d31474e48d0e84d2dd03b369e0e559e007e (patch) | |
| tree | 6be446e4b3bc0440ebdedd75b3e8bb9e03582ffb /fluid/ExternalCodeEditor_UNIX.h | |
| parent | 86a0a288152da0d3891ae67f56fd88014f6787f5 (diff) | |
FLUID: defer calling Fl::add_fd.
Diffstat (limited to 'fluid/ExternalCodeEditor_UNIX.h')
| -rw-r--r-- | fluid/ExternalCodeEditor_UNIX.h | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |
