pop-up window handling

Olivier Fourdan fourdan at xfce.org
Tue Sep 10 23:03:14 CEST 2002


Hi Edscott,

This should be handled by Xinerama in xfwm4. Still to be done.

(However, Xinerama specs will chnage in a near future, making all
current implementation obsolete, that's why I'm not in a hurry for
porting current xfwm3 implementation)

Cheers,
Olivier.

On Tue, 2002-09-10 at 22:50, edscott wilson garcia wrote:
> On Tue, 2002-09-10 at 15:26, Olivier Fourdan wrote:
> > Okay, this actually gave me an idea for xfwm4...
> > 
> > What it does is center transient relatively to their parent window, but
> > only if the transient didn't specify a position itself. That should work
> > in 100% cases.
> 
> Would it be posible to have some option to force this behaviour even if
> the application specifies a position? 
> 
> The reason why I'm saying this is that I get neck-strain from programs
> like mozilla and evolution which open the transients at a position
> relative to (0,0), which sends the dialog two monitors away on a 3
> monitor xinerama configuration.
> 
> saludos,
> 
> Edscott
> 
> 
> > 
> > As a side note, rox (1.3.x) places dialogs under the pointer, so the
> > window manager follow apps requisites.
> > 
> > Cheers,
> > Olivier.
> > 
> > On Tue, 2002-09-10 at 18:50, Olivier Fourdan wrote:
> > > I would add that, according to Metacity documentation, some Java apps
> > > set transient_for even on popup menus, making those practically unusable
> > > when centered in parent window.
> > > 
> > > So, yes, this could be done in the window manager, but not necessarily
> > > suitable for all apps. 
> > > 
> > > The best would be that the application itself centers its dialogs (like
> > > some gnome apps do)
> > > 
> > > Cheers,
> > > Olivier.
> > > 
> > > On Tue, 2002-09-10 at 18:44, Jasper Huijsmans wrote:
> > > > On 10 Sep 2002 09:08:54 -0700
> > > > Jack Coates <jack at monkeynoodle.org> wrote:
> > > > 
> > > > > Is there any way to make xfwm put pop-ups in the middle of the parent
> > > > > application? For instance -- I delete a file in Rox. Rox pops up a
> > > > > window asking if I'm sure. That window comes up in the opposite corner
> > > > > of the screen.
> > > > 
> > > > Actually, ROX should take care of that. Perhaps xfwm can be a little
> > > > smarter if the dialog sets the 'transient_for' hint, but I'm not even
> > > > sure ROX does that for its dialogs.
> > > > 
> > > > Jasper
> > > > 
> > > > > -- 
> > > > > Jack Coates
> > > > > Monkeynoodle: A Scientific Venture...
> > > > > 
> > > > > _______________________________________________
> > > > > Xfce mailing list
> > > > > Xfce at moongroup.com
> > > > > http://moongroup.com/mailman/listinfo/xfce
> > > > 
> > > > 
> > > > -- 
> > > > IRC channel: #xfce on irc.openprojects.net
> > > > _______________________________________________
> > > > Xfce mailing list
> > > > Xfce at moongroup.com
> > > > http://moongroup.com/mailman/listinfo/xfce
> > > > 
> > > -- 
> > > Olivier               <fourdan at xfce.org>            http://www.xfce.org
> > > -----------------------------------------------------------------------
> > > XFce is a lightweight  desktop  environment  for  various *NIX systems.
> > > Designed for productivity,  it loads  and  executes  applications fast,
> > > while conserving  system resources. XFce is all free software, released
> > > under GNU General Public License.    Available from http://www.xfce.org
> > > 
> > > _______________________________________________
> > > Xfce mailing list
> > > Xfce at moongroup.com
> > > http://moongroup.com/mailman/listinfo/xfce
> > > 
> > -- 
> > Olivier               <fourdan at xfce.org>            http://www.xfce.org
> > -----------------------------------------------------------------------
> > XFce is a lightweight  desktop  environment  for  various *NIX systems. 
> > Designed for productivity,  it loads  and  executes  applications fast,
> > while conserving  system resources. XFce is all free software, released
> > under GNU General Public License.    Available from http://www.xfce.org
> > 
> > _______________________________________________
> > Xfce mailing list
> > Xfce at moongroup.com
> > http://moongroup.com/mailman/listinfo/xfce
> > 
> > 
> 
> 
> _______________________________________________
> Xfce mailing list
> Xfce at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce
> 
-- 
Olivier               <fourdan at xfce.org>            http://www.xfce.org
-----------------------------------------------------------------------
XFce is a lightweight  desktop  environment  for  various *NIX systems. 
Designed for productivity,  it loads  and  executes  applications fast,
while conserving  system resources. XFce is all free software, released
under GNU General Public License.    Available from http://www.xfce.org




More information about the Xfce mailing list