Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: dentonlt on December 14, 2010, 08:54:35 PM

Title: smart window placement ... decline?
Post by: dentonlt on December 14, 2010, 08:54:35 PM
My window positioning is pretty hard to predict, even on an empty screen. I think this is FLWM optimizing my screen space, which I can handle.

At least for brief-one-time-only apps (exittc/wallpaper/FLRun), though, I think it makes sense to consistently request the middle of the screen: window->position(center!). Randomly placing these windows doesn't make sense to me.

Anybody agree, or is it just me?
Title: Re: smart window placement ... decline?
Post by: MikeLockmoore on December 15, 2010, 11:44:08 AM
@dentonlt

Quote
Or ... get the flwm code and edit.
(-- http://forum.tinycorelinux.net/index.php?topic=8080.0 (http://forum.tinycorelinux.net/index.php?topic=8080.0))

Maybe you can take your own advice?  ;)
Title: Re: smart window placement ... decline?
Post by: dentonlt on December 15, 2010, 04:23:56 PM
@Mike - Yep - did that first. In this case, I got the exittc/wallpaper/etc code to check and see if they auto-center ... which they don't. I need one line added to each.

I thought it would make sense to commit the changes if it's in the public interest.
Doesn't look like much public interest, though ::)
Title: Re: smart window placement ... decline?
Post by: jur on December 15, 2010, 04:47:30 PM
I am intersted... one of the reasons I don;t use flwm is the window placement.

Another reason is flwm does not play nice with chromium when you select the chromium option not to use system title bars. I would regard this as a bug actually.
Title: Re: smart window placement ... decline?
Post by: dentonlt on December 15, 2010, 07:29:40 PM
Hmm. I was interested in core components that can control their own placement ...

The FLWM 'smart placement' can be turned off, but it requires a recompile (disable #define statement).

For custom key bindings, I considered adding text-file configuration to FLWM. I'm still avoiding that unless there's a flood of interest - time consuming  :-\

EDIT: Did some playing. Reaffirmation-to-self: it's not worth putting in config file support. Rebuilding takes all of 5 sec, and it really isn't broken in the first place.