Re: startup-notification support for nautilus as a launchee

On Mon, 2005-02-14 at 16:51 -0700, Elijah Newren wrote:
> On Mon, 14 Feb 2005 12:07:03 +0100, Alexander Larsson <alexl redhat com> wrote:

> As Crispin pointed out, though, perhaps an ugly hack is in order--if
> no startup-id is provided then ping the xserver for a timestamp
> (gdk_x11_get_server_time) and use that for the new window instead of
> spewing a warning.  It'd still partially break
> focus-stealing-prevention (since the timestamp would be too late), but
> given that nautilus windows (hopefully) are only ever launched due to
> user interaction, it may be better than the alternative.  I can code
> it up if you want, it'd only be a few lines.

I'm not sure how this will affect things, so I don't know if I want this
or not. Do I? :)

I commited your patch. With that in, is window->details->startup_id
needed at all now?

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an oversexed white trash matador who must take medication to keep him 
sane. She's a provocative Buddhist pearl diver with the power to see death. 
They fight crime! 

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