summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-03-25 00:07:03 +0000
committerCarl Hetherington <cth@carlh.net>2019-03-25 00:07:03 +0000
commit25c15064f4c816d310c34e2e27092b3c2d02afb3 (patch)
tree8fd9a7dc1531b27a9a872000583d7c069bb4d233 /src/tools
parented422e0aae492d97d0e7824108e0152927fcb23a (diff)
Try to fix server status window being opened behind others (#1503).
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_server.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_server.cc b/src/tools/dcpomatic_server.cc
index ab3e5b258..1554c02f4 100644
--- a/src/tools/dcpomatic_server.cc
+++ b/src/tools/dcpomatic_server.cc
@@ -145,7 +145,11 @@ public:
: wxDialog (
0, wxID_ANY, _("DCP-o-matic Encode Server"),
wxDefaultPosition, wxDefaultSize,
+#ifdef DCPOMATIC_OSX
+ wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxSTAY_ON_TOP
+#else
wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER
+#endif
)
{
wxFlexGridSizer* state_sizer = new wxFlexGridSizer (2, DCPOMATIC_SIZER_GAP, DCPOMATIC_SIZER_GAP);