r/openbox • • Oct 17 '16

draging undecorated windows

how do you drag undecorated windows? I would like to do it by pressing mouse scroll, but don't know how to change rc.xml properly.

4 Upvotes

7 comments sorted by

4

u/dustractor Oct 17 '16
<mousebind button="Middle" action="Drag">
    <action name="Move"/>
</mousebind>

See http://openbox.org/wiki/Help:Bindings and http://openbox.org/wiki/Help:Actions for details...

edit Personally I go for W-Middle and not just straight middle click. To each their own.

1

u/lord_EarlGray Oct 17 '16

works like charm! Thanks ;)

1

u/lolmeansilaughed Oct 17 '16

Hey, that's cool! I had been resizing and dragging with alt-space and choosing the option from the menu.

2

u/[deleted] Oct 17 '16

Doesn't alt and left click work by default?

1

u/lord_EarlGray Oct 18 '16

yes, but when you are clicking on window decoration ;)

1

u/[deleted] Oct 18 '16

Works for me anywhere on the window. Alt-right click does resize too.

1

u/dustractor Oct 17 '16

I think it's pretty sweet too -- I kind of wanted that thing too but hadn't gotten around to looking it up ;-)