diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-01-16 12:33:26 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-01-16 12:33:26 +0100 |
| commit | 0f335ab4409943ff59dd0c542e9a3c9947c911d7 (patch) | |
| tree | 5972dc521d8924c8261c27f90322c8a81214bede /src/Fl_Native_File_Chooser_Kdialog.H | |
| parent | ebd0c81f7e5745d58e11846a695fe5842245c627 (diff) | |
Improve kdialog-based native file chooser.
Processing of all FLTK events as well as window resizing while the file chooser runs is suspended,
Normal event processing and resizing is restored when chooser closes.
Diffstat (limited to 'src/Fl_Native_File_Chooser_Kdialog.H')
| -rw-r--r-- | src/Fl_Native_File_Chooser_Kdialog.H | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser_Kdialog.H b/src/Fl_Native_File_Chooser_Kdialog.H index 730b25e29..f73242ca6 100644 --- a/src/Fl_Native_File_Chooser_Kdialog.H +++ b/src/Fl_Native_File_Chooser_Kdialog.H @@ -1,7 +1,7 @@ // // FLTK native file chooser widget : KDE version // -// Copyright 2021 by Bill Spitzak and others. +// Copyright 2021-2022 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -21,6 +21,11 @@ class FL_EXPORT Fl_Kdialog_Native_File_Chooser_Driver : public Fl_Native_File_Chooser_FLTK_Driver { friend class Fl_Native_File_Chooser; + struct fnfc_pipe_struct { + char *all_files; + int fd; + }; + static void fnfc_fd_cb(int fd, fnfc_pipe_struct *data); char **_pathnames; int _tpathnames; char *_directory; |
