diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dillo.cc | 2 | ||||
-rw-r--r-- | src/form.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/dillo.cc b/src/dillo.cc index aef192b8..f8293f0b 100644 --- a/src/dillo.cc +++ b/src/dillo.cc @@ -101,6 +101,8 @@ int main(int argc, char **argv) a_Bw_init(); a_Cookies_init(); + // Sets WM_CLASS hint on X11 + fltk::Window::xclass("dillo"); // Create a new UI/bw pair BrowserWindow *bw = a_UIcmd_browser_window_new(0, 0, NULL); diff --git a/src/form.cc b/src/form.cc index 78f2e66d..05fa918d 100644 --- a/src/form.cc +++ b/src/form.cc @@ -1529,7 +1529,7 @@ void DilloHtmlReceiver::enter (dw::core::ui::Resource *resource) /* The control can submit form. Show action URL. */ msg = URL_STR(form->action); } - a_UIcmd_set_msg(html->bw, msg); + a_UIcmd_set_msg(html->bw, "%s", msg); } /* |