On Mon, Jun 01, 2009 at 05:21:15PM +1000, Carsten Haitzler wrote: > On Mon, 25 May 2009 17:20:08 +0100 Rui Miguel Silva Seabra <r...@1407.org> > said: > > > I'm sure it's not, AFAICT (since I don't know Parloi's internals) it doesn't > > touch anything Paroli or anything related to calls. > > > > As for your problem with landscape vs portrait positions and GUIs... well, > > that's a problem that's not easy to solve unless all applications pay > > attention to a specific dbus signal which omnewrotate will send in the > > future. > > > > This signal can be used by apps so they adjust their UI according to the > > display mode, but other than that, they all think they're in the same > > position. > > no dbus signals needed. when x rotates,you'll get a configurenotify on root > AND > an XRRScreenChangeNotifyEvent event (on root). These will also tell you your > orientation and new size. The WM, if smart, will resize your app window > anyway, > so all you really need to do is, on resize, query x for the orientation, if > orientation matters. if it doesn't just adjusting to the new size is what you > should be doing anyway.
Ah... so applicaitons like, say, paroli, mokomaze, etc... need to pay attention to XRRScreenChangeNotifyEvent ? Rui _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community