diff options
author | Michael Cardell Widerkrantz <mc@hack.org> | 2010-07-22 06:43:36 +0200 |
---|---|---|
committer | Michael Cardell Widerkrantz <mc@hack.org> | 2010-07-22 06:43:36 +0200 |
commit | de7e707648d4d2ae9c29b2cfceb54b271cb51daf (patch) | |
tree | 47b6f4571226e0e53541a379673b628e4f6dcc8d /mcwm.c | |
parent | eac9ff63554bfd466ef2af774148058d57b9a4a1 (diff) | |
download | mcwm-de7e707648d4d2ae9c29b2cfceb54b271cb51daf.zip |
Use MOVE_STEP.
Diffstat (limited to 'mcwm.c')
-rw-r--r-- | mcwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1312,6 +1312,7 @@ void resizestep(struct client *client, char direction) win = client->id; + /* Save pointer position so we can warp back later, if necessary. */ if (!getpointer(win, &start_x, &start_y)) { return; @@ -1320,7 +1321,6 @@ void resizestep(struct client *client, char direction) raisewindow(win); /* Get window geometry. */ - if (!getgeom(client->id, &x, &y, &width, &height)) { return; @@ -1342,8 +1342,8 @@ void resizestep(struct client *client, char direction) if (0 == hints.width_inc || 0 == hints.height_inc) { PDEBUG("Client lied. No size inc hints.\n"); - step_x = 1; - step_y = 1; + step_x = MOVE_STEP; + step_y = MOVE_STEP; } else { |