Mikael Magnusson | 28 Mar 2005 11:56
Picon

Re: dialog raising bug

On Sun, 27 Mar 2005, John Russell wrote:

> Mikael, I am trying to track down a bug that has bothered me for a
> while.  It happens in several places, but the one I know of for sure,
> is if I am editing a contact in evolution, and I click the
> Categories... button to edit categories, when the Category dialog is
> created the Contact window is lowered below the main evolution window.
> I figure that this is because the dialog (Categories) is raised above
> the parent (Contact) and the parent is lowered indiscriminantely below
> its own parent (evolution main window).  Do you have any idea where
> the logic for all this is so I can find and hopefully fix it more
> quickly?  Thanks.
>
> John

You'll want to poke around in this general area i think,
https://bugzilla.icculus.org/show_bug.cgi?id=1863 (stacking.c)

--
Mikael Magnusson

GI | 29 Mar 2005 01:50

Getting the window ID and startup issues

Hi All,

I've two questions --

1. Is it possible to get the window ID when I click the iconify button?
   The reason I'm asking is because I saw a screen shot of fvwm where
   the icons minimised windows are just miniatureised versions of the
   window itself. Pretty neat! Check out the fvwm screenshot at:

    http://www.fvwm.org/screenshots/desktops/Chris_Debenham-1400x1050/screenshot.jpg

   From what I understand this is not a fvwm feature. This is done by
   grabing the window image, using convert to make a small PNG out of
   it, and then putting it on the desktop. I can do this in Openbox, but
   only if I know the window ID.

   Once I have the desired window ID, I can easily get the window image
   and do what I please with it. I think idesk (or some other nifty
   application) will put the converted image as a nice icon on the
   desktop. And then I can use wmctrl -ia <WINID> to raise the
   apropriate window when I click on the icon.

2. My second question is a little painfull. In my session startup, I
   like starting a few programs (like oclock) undecorated. So I do the
   following (in my .xinitrc):

	openbox & WMPID=$!

	oclock -transparent -geometry 100x100-0+0 -fg grey &
	sleep 5 && wmctrl -r oclock -b add,undecorated,above
(Continue reading)


Gmane