FVWM: pages in windowlist

From: Elliot Sowadsky <elliot_at_lsil.com>
Date: Wed, 20 Mar 2002 14:22:07 -0800 (PST)

I use pages rather than desks (i dont remember why i didnt like desks)
and i added code to windowlist to display my relative page by dividing my x values by my hard coded screen #'s.

        if(t->frame_g.x > 1151)
          sprintf(loc,"+%d ",(t->frame_g.x)/1152);
        else if(t->frame_g.x < 0)
          sprintf(loc,"%d ",((t->frame_g.x)-1151)/1152);
        else
          sprintf(loc," 0 ");

What's the right way to display absolute page #'s ?

My windowlist also sorts windows by class name (displaying class) , so all
of similar types are together.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Mar 20 2002 - 16:23:16 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST