You are not logged in.

#1 2008-02-24 21:10:15

stojic
Member
From: Zagreb, Croatia
Registered: 2008-02-24
Posts: 51

evilwm 1.0.0 patch: adds snapping while moving window with keyboard

The only thing I was really missing in evilwm is window snapping while moving them with keyboard, so here's the patch that adds this feature. cool

One caveat: as movement is done in 16px steps, this is also maximum snap distance while moving with keyboard. If you set your snap distance to something larger, you'll get 16px snapping while moving windows with keyboard. Snapping while moving with mouse will work normally with snap distance you have set via -snap option.

EDIT: I removed code segments with patch and PKGBUILD as tabs are not preserved so patch copied from there fails. Btw, where can I upload these files?

If I am online (which I tend to be) you can get these files from http://stojic.homelinux.org/evilwm_snap_patch/.

enjoy smile

Last edited by stojic (2008-02-24 21:14:11)

Offline

#2 2008-02-24 21:20:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: evilwm 1.0.0 patch: adds snapping while moving window with keyboard

Have you submitted your work to evilwm? That would be the best option IMO.

Offline

#3 2008-02-24 21:22:50

stojic
Member
From: Zagreb, Croatia
Registered: 2008-02-24
Posts: 51

Re: evilwm 1.0.0 patch: adds snapping while moving window with keyboard

I had this thought too, I'll probably e-mail evilwm author one this gets tested a bit more.

Offline

Board footer

Powered by FluxBB