summaryrefslogtreecommitdiff
path: root/openbox/moveresize.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-17 01:38:01 +0000
committerDana Jansens <danakj@orodu.net>2007-05-17 01:38:01 +0000
commit2ca83f67137c41ecd7d2cc2742b79aa8b2d7c8a8 (patch)
tree7bed19135f69d1ea1b1e2a7baf1cb10c7e0ff792 /openbox/moveresize.c
parent619eeaa962e8718901cfc9eabe56e503ba40cd90 (diff)
grab the pointer when windows move them selves so no enter events happen. i wonder if this will cause but reports. it still does for restacking though..
little cleanup in client.c, and remove client_configure macro which was now redundant
Diffstat (limited to 'openbox/moveresize.c')
-rw-r--r--openbox/moveresize.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c
index 837f3e92..8b31dbfa 100644
--- a/openbox/moveresize.c
+++ b/openbox/moveresize.c
@@ -295,9 +295,9 @@ void moveresize_end(gboolean cancel)
#endif
get_resize_position(&x, &y, cancel);
- client_configure(moveresize_client, x, y,
- (cancel ? start_cw : cur_x),
- (cancel ? start_ch : cur_y), TRUE, TRUE);
+ client_configure_full(moveresize_client, x, y,
+ (cancel ? start_cw : cur_x),
+ (cancel ? start_ch : cur_y), TRUE, TRUE);
}
moveresize_in_progress = FALSE;
@@ -314,9 +314,9 @@ static void do_move(gboolean keyboard)
if (!keyboard) resist = config_resist_edge;
resist_move_monitors(moveresize_client, resist, &cur_x, &cur_y);
- client_configure(moveresize_client, cur_x, cur_y,
- moveresize_client->area.width,
- moveresize_client->area.height, TRUE, FALSE);
+ client_configure_full(moveresize_client, cur_x, cur_y,
+ moveresize_client->area.width,
+ moveresize_client->area.height, TRUE, FALSE);
if (config_resize_popup_show == 2) /* == "Always" */
popup_coords(moveresize_client, "%d x %d",
moveresize_client->frame->area.x,
@@ -375,7 +375,8 @@ static void do_resize()
{
gint x, y;
get_resize_position(&x, &y, FALSE);
- client_configure(moveresize_client, x, y, cur_x, cur_y, TRUE, FALSE);
+ client_configure_full(moveresize_client,
+ x, y, cur_x, cur_y, TRUE, FALSE);
}
/* this would be better with a fixed width font ... XXX can do it better