JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix 'jump' when moving a non-floated window with the mouse.
authorReginald Kennedy <rk@rejii.com>
Wed, 25 Jan 2012 16:37:03 +0000 (00:37 +0800)
committerReginald Kennedy <rk@rejii.com>
Wed, 25 Jan 2012 16:37:03 +0000 (00:37 +0800)
ok marco

scrotwm.c

index 788f839..9da5d15 100644 (file)
--- a/scrotwm.c
+++ b/scrotwm.c
@@ -3958,6 +3958,7 @@ move(struct ws_win *win, union arg *args)
 
        win->manual = 1;
        if (win->floating == 0 && !win->transient) {
 
        win->manual = 1;
        if (win->floating == 0 && !win->transient) {
+               store_float_geom(win,r);
                ewmh_update_win_state(win, ewmh[_NET_WM_STATE_ABOVE].atom,
                    _NET_WM_STATE_ADD);
        }
                ewmh_update_win_state(win, ewmh[_NET_WM_STATE_ABOVE].atom,
                    _NET_WM_STATE_ADD);
        }