summaryrefslogtreecommitdiff
path: root/src/Fl_arg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_arg.cxx')
-rw-r--r--src/Fl_arg.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx
index c6b2e60a7..49002816d 100644
--- a/src/Fl_arg.cxx
+++ b/src/Fl_arg.cxx
@@ -82,6 +82,13 @@ int Fl::arg(int argc, char **argv, int &i) {
if (s[0] != '-' || s[1] == '-' || !s[1]) {return_i = 1; return 0;}
s++; // point after the dash
+#ifdef __APPLE__
+ if (!strncmp(s, "psn", 3)) {
+ // Skip process serial number...
+ i++;
+ }
+ else
+#endif // __APPLE__
if (fl_match(s, "iconic")) {
fl_show_iconic = 1;
i++;