You are not logged in.

#1 2013-04-08 09:19:19

jjacky
Member
Registered: 2011-11-09
Posts: 321
Website

xfwm4: better placement of new windows

I really like xfwm4, but somewhat regularly I would get a little annoyed by where it would place new windows. Typical case would be this: I have an application (e.g. file manager) maximized, then I have a gVim window on the left side (the window is about half my screen's size, so I can have two side by side). Then I would open a new terminal; my terminal window is 1/4th of the screen, so I could have 4 opened at the same time.

Naturally, I would expect my terminal window to go on the top-right corner, but it wouldn't go there. Instead, it was on the bottom-left one, i.e. on top of gVim. Recently I decided to look into this, and this ended up with a little patch to - IMHO - improve things a bit. Now new windows are placed in what I find to be better/more predictable places, e.g. in my example, it would go on the top-right corner.

I wrote a little more about how xfwm4 works, and how my patch changes things. I've also put a PKGBUILD in the AUR.

In case someone else might like that,
-j

Offline

#2 2013-04-08 10:41:42

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,472
Website

Re: xfwm4: better placement of new windows

Have you considered going upstream with this? If you feel like this is an improvement, maybe the developers think the same.

EDIT: Nevermind, just read on your blog that you did submit it upstream.

Last edited by Unia (2013-04-08 10:42:37)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#3 2013-04-08 18:15:48

edmael
Member
From: Corte de' Frati, Italy
Registered: 2012-07-19
Posts: 54
Website

Re: xfwm4: better placement of new windows

I just commented on Xfce's bugzilla, you did a great job!

Offline

Board footer

Powered by FluxBB