Re: About execf, and about moving frames

Shawn <[email protected]>
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <87zllckvyn.fsf@juicebox.i-did-not-set--mail-host-address--so-tickle-me>
"Bernhard R. Link" <[email protected]> writes:

> +/* Given a frame, return the rp_screen struct it belongs to */
> +rp_screen *
> +find_screen_by_frame (rp_frame *f)
> +{
> +  int i;
> +
> +  for (i=0; i<num_screens; i++)
> +    if (screen_find_frame_by_frame(&screens[i], f) != NULL)
> +      return &screens[i];
> +
> +   return NULL;
> + }
> +

I believe this function already exists as frames_screen().

-Shawn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.