-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jorge Arellano Cid wrote:
On Sun, May 18, 2008 at 07:15:11PM +0200, Johannes Hofmann wrote:
shouldn't window resizing be done by the window manager?
Yes, AFAIS.
Do we really need to implement this inside dillo?
I'd let the WM do it. (e.g. ALT+F11 in Xfce).
The problem with this is that we cannot switch to fullwindow mode the moment the windowmanager maximizes our window since fltk does not expose whether our window is in fullscreen mode or not. And we cannot do things like start in fullscreen mode (would be nice for presentations etc). In x11-land there is a NetWM property for this: $ xprop | grep _NET_WM_STATE _NET_WM_STATE(ATOM) = _NET_WM_STATE_FULLSCREEN We could - listen for XPropertyEvents inside of dillo (ugly) - modify fltk to expose those events (nice) But what about the two other major platforms? The homepage states that one of dillos objectives is to be platform independent. I doubt that there's a fullscreen functionality for windows apps, and I have no idea about osx. This seems like a lot of work for a functionality that works (at least it should work) across all three major platforms with a ~30 lines of code patch. What's the problem besides "on x11 the wm should take care of this"? It doesn't break anything, does it? Justus - -- gpg key fingerprint: C82D 382A AB38 1A54 5290 19D6 A0F9 B035 686C 6996 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIMbiVoPmwNWhsaZYRAs2MAJ955OOtsLhdC3NVyNRUC0kkOd6hbgCeMCnd Sd4ofspcJb/5MfbgF83xzTw= =aQ+g -----END PGP SIGNATURE-----