From 0740dec056169d4a733ddce97fa27fcf02c5efef Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Mon, 19 Nov 2018 11:43:14 -0500 Subject: [PATCH] catchup --- minigui.d | 2 ++ simpledisplay.d | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/minigui.d b/minigui.d index 455d519..657b16c 100644 --- a/minigui.d +++ b/minigui.d @@ -1,5 +1,7 @@ // http://msdn.microsoft.com/en-us/library/windows/desktop/bb775498%28v=vs.85%29.aspx +// minigui needs to have a stdout redirection for gui mode on windows writeln + // need a viewer widget that works like a web page - arrows scroll down consistently // FIXME: the menus should be a bit more discoverable, at least a single click to open the others instead of two. diff --git a/simpledisplay.d b/simpledisplay.d index 3d63a46..f71b47d 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -6475,6 +6475,7 @@ enum ModifierState : uint { rightButtonDown = 1024, /// ditto } else version(Windows) +/// ditto enum ModifierState : uint { shift = 4, /// ctrl = 8, /// @@ -10795,7 +10796,7 @@ Atom XInternAtom( Bool /* only_if_exists */ ); -Status XInternAtoms(Display*, char**, int, Bool); +Status XInternAtoms(Display*, const char**, int, Bool, Atom*); char* XGetAtomName(Display*, Atom); Status XGetAtomNames(Display*, Atom*, int count, char**);