ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] About execf, and about moving frames


From: Shawn
Subject: Re: [RP] About execf, and about moving frames
Date: Fri, 10 Oct 2008 13:59:28 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

"Bernhard R. Link" <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]