diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-22 18:11:04 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-22 18:11:04 +0000 |
| commit | dd937208e6b6a3ea7a420345f0f60ab73f30d144 (patch) | |
| tree | da4c15389eaa696c53264da821baf3e8e48813a0 /openbox/moveresize.c | |
| parent | 15e5a891da33436569c989e4ea78b5607ecd52d9 (diff) | |
reuse variables, less braces
Diffstat (limited to 'openbox/moveresize.c')
| -rw-r--r-- | openbox/moveresize.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c index fbc85f5b..c55b88e1 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -373,11 +373,8 @@ static void do_resize() } #endif - { - gint x, y; - get_resize_position(&x, &y, FALSE); - client_configure(moveresize_client, x, y, cur_x, cur_y, TRUE, FALSE); - } + get_resize_position(&x, &y, FALSE); + client_configure(moveresize_client, x, y, cur_x, cur_y, TRUE, FALSE); /* this would be better with a fixed width font ... XXX can do it better if there are 2 text boxes */ |
