From kde-devel Tue Aug 31 22:37:49 2004 From: Aaron Seigo Date: Tue, 31 Aug 2004 22:37:49 +0000 To: kde-devel Subject: Re: Is it technically possible... Message-Id: <200408311637.49730.aseigo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=109399191025995 On August 31, 2004 16:04, Maurizio Colucci wrote: > ( Intuitively, the answer is: "because the two konqueror windows are > different instances of konqueror, this isn't always true. it is entirely possible to have multiple konq windows all in the same process, and i believe our default settings have it that way for file management even ... perhaps a different way of going about it would be to go through the windows for each pid and see which are "top level" windows and group them by the parentage tree... KWin already does this for focus prevent stealing IIRC > But programmatically, how do I know that? ) AFAIK the _NET_WM_PID atom contains this information for a given window, assuming usage of a netWM compliant window manager =) the NETWinInfo class in kdelibs/kdecore provides a ::pid() method as well. -- Aaron J. Seigo Society is Geometric >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<