WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: smart window placement ... decline?  (Read 2115 times)

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
smart window placement ... decline?
« 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?

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: smart window placement ... decline?
« Reply #1 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)

Maybe you can take your own advice?  ;)

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: smart window placement ... decline?
« Reply #2 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 ::)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: smart window placement ... decline?
« Reply #3 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.

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
Re: smart window placement ... decline?
« Reply #4 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.
« Last Edit: December 17, 2010, 01:07:48 AM by dentonlt »