handles and borders

Problems with decorations or key/mouse bindings? Or perhaps you have a cool mouse/key binding you want to share.
jk3us
Kitten
Kitten
Posts: 17
Joined: Fri Aug 05, 2005 12:28 am
Contact:

handles and borders

Postby jk3us » Fri Aug 05, 2005 8:15 pm

Pretty new to fvwm, been poking through the man page between trying to work....

I'm trying to understand the relationship between borders and handles. If I understand correctly, handles are just the things in the corners (grips?), and if the are present, then the border gets its style from the handles. Assuming that is correct:

1) can you set a style for one side of the border, such as making the bottom border bigger or a different color?

3) Is it possible for the handles to be a different color than the border? and different width?

2) HiddenHandles doesn't seem to be working for me, I have it as

Code: Select all

 + BorderStyle HiddenHandles


in the Decor that I'm using. Is that not right? How to get rid of the line.

That's if for now.
[/code]

thomasadam
Administrator
Administrator
Posts: 3042
Joined: Mon Nov 08, 2004 1:12 am
Location: England
Contact:

Re: handles and borders

Postby thomasadam » Fri Aug 05, 2005 8:19 pm

jk3us wrote:I'm trying to understand the relationship between borders and handles. If I understand correctly, handles are just the things in the corners (grips?), and if the are present, then the border gets its style from the handles. Assuming that is correct:


Kind of. They almost necessitate one another. Although unless specified, the border width will be the same as the handlewidth.

jk3us wrote:1) can you set a style for one side of the border, such as making the bottom border bigger or a different color?


You can once I release the patch to do it. I've almost completed it now.

jk3us wrote:3) Is it possible for the handles to be a different color than the border? and different width?


See above.

jk3us wrote:2) HiddenHandles doesn't seem to be working for me, I have it as

Code: Select all

 + BorderStyle HiddenHandles


in the Decor that I'm using. Is that not right? How to get rid of the line.


You need "NoInset" in there as well:

Code: Select all

+ BorderStyle -- NoInset HiddenHandles


-- Thomas Adam
Last edited by thomasadam on Fri Aug 05, 2005 8:28 pm, edited 1 time in total.

User avatar
morbusg
CatCoder
CatCoder
Posts: 344
Joined: Sat Jan 08, 2005 12:56 am
Location: Helsinki, Finland

Postby morbusg » Fri Aug 05, 2005 8:19 pm

I think you need it like:
BorderStyle -- HiddenHandles

jk3us
Kitten
Kitten
Posts: 17
Joined: Fri Aug 05, 2005 12:28 am
Contact:

fixed

Postby jk3us » Fri Aug 05, 2005 8:31 pm

the "--" fixed the hiddenhandle thing, I can't really tell a difference with NoInset. I'm looking forward to your patch :)

thomasadam
Administrator
Administrator
Posts: 3042
Joined: Mon Nov 08, 2004 1:12 am
Location: England
Contact:

Re: fixed

Postby thomasadam » Fri Aug 05, 2005 8:33 pm

jk3us wrote:the "--" fixed the hiddenhandle thing, I can't really tell a difference with NoInset. I'm looking forward to your patch :)


You would tell the difference if you used:

Code: Select all

+ BorderStyle simple


in your decor.

-- Thomas Adam

thomasadam
Administrator
Administrator
Posts: 3042
Joined: Mon Nov 08, 2004 1:12 am
Location: England
Contact:

Postby thomasadam » Wed Mar 29, 2006 8:48 pm

Unne wrote:Sorry to bump an old-ish thread, but a patch has been mentioned that would let you set per-side border (and handle?) width and look. I used FVWM for a long time a while back and this is one of the few things I was desperately wanting. Having a nice thick handle/border on the bottom of the window with no handles/borders on the sides or top would be my goal, ala openbox.


That was me that wrote that patch. I'm not releasing at the present time.

-- Thomas Adam

biohuang
Kitten
Kitten
Posts: 2
Joined: Thu Feb 09, 2017 6:18 am

Re: handles and borders

Postby biohuang » Thu Feb 09, 2017 6:26 am

thomasadam wrote:
jk3us wrote:I'm trying to understand the relationship between borders and handles. If I understand correctly, handles are just the things in the corners (grips?), and if the are present, then the border gets its style from the handles. Assuming that is correct:


Kind of. They almost necessitate one another. Although unless specified, the border width will be the same as the handlewidth.

jk3us wrote:1) can you set a style for one side of the border, such as making the bottom border bigger or a different color?


You can once I release the patch to do it. I've almost completed it now.

jk3us wrote:3) Is it possible for the handles to be a different color than the border? and different width?


See above.

jk3us wrote:2) HiddenHandles doesn't seem to be working for me, I have it as

Code: Select all

 + BorderStyle HiddenHandles


in the Decor that I'm using. Is that not right? How to get rid of the line.


You need "NoInset" in there as well:

Code: Select all

+ BorderStyle -- NoInset HiddenHandles


-- Thomas Adam


Did the patch allowing four borders to be different get merged? If so, how to enable the style? If not, are there alternative choices? Sorry, I am newbie and not familiar to the manual of FVWM (especially the section of Style, which is difficult to search for keywords).

thomasadam
Administrator
Administrator
Posts: 3042
Joined: Mon Nov 08, 2004 1:12 am
Location: England
Contact:

Re: handles and borders

Postby thomasadam » Thu Feb 09, 2017 8:54 am

Officially, no. But see:

https://github.com/fvwmorg/fvwm/tree/ta/multiborder

That is, the ta/multiborder branch in git.

biohuang
Kitten
Kitten
Posts: 2
Joined: Thu Feb 09, 2017 6:18 am

Re: handles and borders

Postby biohuang » Thu Feb 09, 2017 10:11 am

thomasadam wrote:Officially, no. But see:

https://github.com/fvwmorg/fvwm/tree/ta/multiborder

That is, the ta/multiborder branch in git.


Thanks for the quick reply. Do you know the reason that the patch did not accepted by mainstream? Does it consume a lot memory or like?

thomasadam
Administrator
Administrator
Posts: 3042
Joined: Mon Nov 08, 2004 1:12 am
Location: England
Contact:

Re: handles and borders

Postby thomasadam » Thu Feb 09, 2017 10:20 am

biohuang wrote:
thomasadam wrote:Officially, no. But see:

https://github.com/fvwmorg/fvwm/tree/ta/multiborder

That is, the ta/multiborder branch in git.


Thanks for the quick reply. Do you know the reason that the patch did not accepted by mainstream? Does it consume a lot memory or like?


1. Because I haven't cleaned the code up.
2. It breaks UseBorder Style
3. There's too many Pixmaps used (Graphics Contexts)

-- Thomas


Return to “Decorations and bindings”

Who is online

Users browsing this forum: No registered users and 2 guests