On Thu, Sep 25, 2008 at 06:05:37PM +0100, Jeremy Henty wrote:
Replying to myself:
On Thu, Sep 25, 2008 at 04:33:57PM +0100, Jeremy Henty wrote:
On Thu, Sep 25, 2008 at 04:14:48PM +0200, Johannes Hofmann wrote:
On Thu, Sep 25, 2008 at 03:11:55PM +0100, Jeremy Henty wrote:
If we're concerned about dillo2 playing properly with X11 and window managers then I'd say that it should set WM_CLASS to '"Dillo2", "dillo2"' on general principle.
Yes that sounds right.
I'll propose a patch later today for comments.
Heh, it's a one liner. I HAZ DILLLO EICONZ NAOW!!!
Jeremy Henty
diff -pru -- 00_pre/src/dillo.cc 01_post/src/dillo.cc --- 00_pre/src/dillo.cc 2008-09-25 17:57:43.000000000 +0100 +++ 01_post/src/dillo.cc 2008-09-25 17:57:43.000000000 +0100 @@ -101,6 +101,8 @@ int main(int argc, char **argv) a_Bw_init(); a_Cookies_init();
+ fltk::Window::xclass("dillo2"); // sets WM_CLASS hint on X11 + // Create a new UI/bw pair BrowserWindow *bw = a_UIcmd_browser_window_new(0, 0, NULL, 0);
Committed as "dillo". Jeremy: I can't get the window icon during Alt+Tab with icewm nor xfce. How did you set it? -- Cheers Jorge.-