On Tue, Mar 04, 2003 at 06:43:41PM -0700, S. Anderson wrote: > Hello, > > I am in the proccess of getting fvwm to support the randr extension. > So far I have got fvwm to see the RRScreenChangeNotify event, now I just > figure out what do do where it says "what else to do" in the following > snippet of code. (mabey I should have fvwm restart there?) > > void HandleRRScreenChangeNotify(const evh_args_t *ea) > { > if (FRandrSupported) > { > if (XRRUpdateConfiguration( (ea->exc->x.etrigger) ) ) > fprintf(stderr,"XRRUpdateConfiguration success\n"); > else > fprintf(stderr,"XRRUpdateConfiguration failed\n"); > > fprintf(stderr,"RRScreenChangeNotify -- width %d, height %d\n", > DisplayWidth(dpy, Scr.screen), DisplayHeight(dpy,Scr.screen)); > > Scr.MyDisplayWidth = DisplayWidth(dpy, Scr.screen); > Scr.MyDisplayHeight = DisplayHeight(dpy, Scr.screen); > > /* what else to do?*/ > } > return; > } > > does any one have a clue for me?
Uh, I fear changing the display size requires a major overhaul of the code. It's bad enough in fvwm, but it gets even worse when modules come into play. > I have the somwhat incomplete and broken patch here, if any one > is interested in looking at it. http://www.xmission.com/~sa/randr.patch Bye Dominik ^_^ ^_^ -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]