summaryrefslogtreecommitdiff
path: root/fluid/ExternalCodeEditor_UNIX.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-01-29 11:51:44 +0100
committerMatthias Melcher <github@matthiasm.com>2023-01-29 11:51:55 +0100
commit85ac3d31474e48d0e84d2dd03b369e0e559e007e (patch)
tree6be446e4b3bc0440ebdedd75b3e8bb9e03582ffb /fluid/ExternalCodeEditor_UNIX.h
parent86a0a288152da0d3891ae67f56fd88014f6787f5 (diff)
FLUID: defer calling Fl::add_fd.
Diffstat (limited to 'fluid/ExternalCodeEditor_UNIX.h')
-rw-r--r--fluid/ExternalCodeEditor_UNIX.h2
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();