Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-06-16 14:08:39

zaken
Member
Registered: 2017-06-16
Posts: 5

Minimize a window by middle-mouse (scroller) clicking the toolbar

I've seen and got used to this feature in Cinnamon. Switching to Arch+XFCE this is the only thing I would miss. I could only find the option to disable any action, but not changing it.

How can I achieve this?

Offline

#2 2017-06-16 20:18:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,489

Re: Minimize a window by middle-mouse (scroller) clicking the toolbar

Hello and welcome.
Unfortunately it's currently hard coded to just lower the window.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2017-06-16 20:48:08

zaken
Member
Registered: 2017-06-16
Posts: 5

Re: Minimize a window by middle-mouse (scroller) clicking the toolbar

Hey, I suppose it's all in C. Is there a way to change it myself? If so will it persist through updates?

Offline

#4 2017-06-16 21:48:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,489

Re: Minimize a window by middle-mouse (scroller) clicking the toolbar

You could modify the code yourself. The source is located here. There is a similar existing bug report and proposed patch to stop the client lower event. You could modify that patch to do something else.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2017-06-17 08:16:41

zaken
Member
Registered: 2017-06-16
Posts: 5

Re: Minimize a window by middle-mouse (scroller) clicking the toolbar

Doesn't appear to be as simple as I thought it would big_smile a bit beyond my knowledge as of now hmm

I don't see a Suggestions sub so I guess I'll use this thread. I suggest a simple dropdown:

in Settings -> Window Manager -> Advanced

below Double click action

title: Middle click action

containing: Lower (default), Minimize, Maximize, Close, Nothing



I think it would fit perfectly there and is something people were asking about from what I found out during my googles. It's a really convenient feature IMO.

Offline

#6 2017-06-17 12:24:00

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,489

Re: Minimize a window by middle-mouse (scroller) clicking the toolbar

You can create enhancement requests in the bug tracker under the xfwm4 product.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2020-02-16 17:27:26

cipricus
Member
Registered: 2012-02-25
Posts: 7

Re: Minimize a window by middle-mouse (scroller) clicking the toolbar

As an alternative: put the panel to the top and use the "Window Buttons" panel item (in its settings: under "Appearance" - enabled "show button labels", under "Behavior" - Middle-click action - Close window); thus, the window names on the panel can be left-clicked to minimize/restore the windows and middle-clicked to close them.

Last edited by cipricus (2020-02-16 17:31:14)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 541.53 KiB (Peak: 542.81 KiB) ]