summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/fltk-problems.doc27
-rw-r--r--src/IO/http.c8
-rw-r--r--src/uicmd.cc10
3 files changed, 15 insertions, 30 deletions
diff --git a/doc/fltk-problems.doc b/doc/fltk-problems.doc
index 453d8178..23ee6a3d 100644
--- a/doc/fltk-problems.doc
+++ b/doc/fltk-problems.doc
@@ -5,19 +5,6 @@
Current problems:
<ul>
-<li> dw::fltk::FltkViewport::draw should only draw the region, for which e.g.
- an expose event was received.
-
-<li> dw::fltk::FltkViewport::queueDraw will collect data, which has to be
- redrawn. Currently, it calls redraw (DAMAGE_EXPOSE), can this be changed,
- so that dw::fltk::FltkViewport::draw will distinguish between the two
- cases?
-
-<li> For Scrolling, something similar applies, only parts of the viewport
- have to be redrawn.
-
-<li> Also for Scrolling, it is necessary to copy parts of the window.
-
<li> How should dw::fltk::FltkViewport::cancelQueueDraw be implemented?
<li> If the value of a scrollbar is changed by the program, not the user,
@@ -27,12 +14,7 @@ Current problems:
<li> Also, the problems with the widgets seems to work. Also sure?
-<li> When drawing, clipping of 32 bit values seems to work.
-
-<li> Who is responsable for clearing before drawing?
-
-<li> The embedded buttons are not redrawn, when pressing the mouse button
- on them.
+<li> When drawing, clipping of 32 bit values is not working properly.
<li> The item group within a selection widget (menu) should not be selectable.
</ul>
@@ -74,11 +56,6 @@ perhaps different implementations for different window systems could
be used. Then, it is for X necessary to use GCs with clipping masks.
-<h2>Lower Priority</h2>
-
-There needs to be an XEmbed implementation.
-
-
<h2>dw::fltk::ui::ComplexButton</h2>
Unfortunately, FLTK does not provide a button with Group as parent, so
@@ -216,4 +193,4 @@ dw::fltk::ui::ComplexButton::draw()):
}
\endcode
-*/ \ No newline at end of file
+*/
diff --git a/src/IO/http.c b/src/IO/http.c
index 09ae34d3..d1fb6622 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -240,13 +240,13 @@ Dstr *a_Http_make_query_str(const DilloUrl *url, bool_t use_proxy)
"Host: %s\r\n"
"%s"
"%s"
- "User-Agent: Dillo/%s\r\n"
+ "User-Agent: Dillo/" VERSION "\r\n"
"Content-Length: %ld\r\n"
"Content-Type: %s\r\n"
"%s" /* cookies */
"\r\n",
full_path->str, HTTP_Language_hdr, auth ? auth : "",
- URL_AUTHORITY(url), proxy_auth->str, referer, VERSION,
+ URL_AUTHORITY(url), proxy_auth->str, referer,
(long)URL_DATA(url)->len, content_type->str,
cookies);
dStr_append_l(query, URL_DATA(url)->str, URL_DATA(url)->len);
@@ -264,14 +264,14 @@ Dstr *a_Http_make_query_str(const DilloUrl *url, bool_t use_proxy)
"Host: %s\r\n"
"%s"
"%s"
- "User-Agent: Dillo/%s\r\n"
+ "User-Agent: Dillo/" VERSION "\r\n"
"%s" /* cookies */
"\r\n",
full_path->str,
(URL_FLAGS(url) & URL_E2EQuery) ?
"Cache-Control: no-cache\r\nPragma: no-cache\r\n" : "",
HTTP_Language_hdr, auth ? auth : "", URL_AUTHORITY(url),
- proxy_auth->str, referer, VERSION, cookies);
+ proxy_auth->str, referer, cookies);
}
dFree(referer);
dFree(cookies);
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 8e8a2834..9c60ccb8 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -309,7 +309,15 @@ public:
/* Ignore this event */
return 1;
}
- return TabGroup::handle(e);
+ int ret = TabGroup::handle(e);
+
+ if (e == PUSH) {
+ /* WORKAROUND: FLTK raises the window on unhandled clicks,
+ * which we do not want.
+ */
+ ret = 1;
+ }
+ return ret;
}
void remove (Widget *w) {