From 873d355ec271b22f0e48dac1c8eaca7deb075e66 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 27 Jan 2023 11:35:05 +0100 Subject: FLUID: fixe external command alert on Unix --- fluid/ExternalCodeEditor_UNIX.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fluid/ExternalCodeEditor_UNIX.h') diff --git a/fluid/ExternalCodeEditor_UNIX.h b/fluid/ExternalCodeEditor_UNIX.h index 186a5b5ec..87feba850 100644 --- a/fluid/ExternalCodeEditor_UNIX.h +++ b/fluid/ExternalCodeEditor_UNIX.h @@ -9,6 +9,8 @@ #include +#include "fluid.h" + #include /* errno */ #include /* strerror() */ #include /* stat().. */ @@ -22,6 +24,10 @@ class ExternalCodeEditor { time_t file_mtime_; // last modify time of the file (used to determine if file changed) size_t file_size_; // last file size (used to determine if changed) const char *filename_; + Fd_String command_line_; + int last_error_; + int alert_pipe_[2]; + static void alert_pipe_cb(FL_SOCKET, void*); protected: void kill_editor(); -- cgit v1.2.3