Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-11-29 23:33:00

crozierm
Member
Registered: 2011-11-29
Posts: 3

Change alt-mouse bindings

Hi,

I'm ready to switch to XFCE immediately, it's awesome...

...except that I have ten years of muscle memory telling me that I resize windows with alt-middlemouse and lower them with alt-rightmouse.  This is exactly the opposite of the XFCE defaults.

Is there a way to rebind alt-middle and alt-right?

I saw this on the wish list, but it was scratched out with a comment saying it was already possible.  Unfortunately, the "already possible" instructions were not obvious to me.

Thanks

Last edited by crozierm (2011-11-30 01:10:59)

Offline

#2 2011-12-01 16:14:36

stqn
Member
Registered: 2010-10-11
Posts: 174

Re: Change alt-mouse bindings

There's a setting to change "alt" into "super" or something else (a requirement to play StarCraft!), but I can't see anything to change the mouse buttons... (Not in the Xfce Settings Editor, xfwm channel, anyway.)

Last edited by stqn (2011-12-01 16:16:12)

Offline

#3 2011-12-01 17:55:23

crozierm
Member
Registered: 2011-11-29
Posts: 3

Re: Change alt-mouse bindings

Yep, it looks like the buttons are hard coded in xfwm.


        else if ((ev->button == Button2) && (state) && (state == screen_info->params->easy_click))
        {
            clientLower (c, None);
        }
        else if ((ev->button == Button3) && (state) && (state == screen_info->params->easy_click))
        {
            part = edgeGetPart (c, ev);
            edgeButton (c, part, ev);
        }

Offline

#4 2011-12-06 19:05:01

crozierm
Member
Registered: 2011-11-29
Posts: 3

Re: Change alt-mouse bindings

FWIW, the logic in events.c is simple enough that I just switched Button2 and Button3 everywhere and recompiled to get the behavior wanted.

Of course, now I'm half-retrained and neither button does what I expect ;-)

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 8 queries executed - Memory usage: 521.32 KiB (Peak: 521.95 KiB) ]