Move the pointer to the resizebar before resizing.
Patch status: superseded
Patch by Peter Boström
To apply this patch, use:
curl http://cr.i3wm.org/patch/349/raw.patch | git am
b/src/resize.c
| 13 |
@@ -89,6 +89,9 @@ int resize_graphical_handler(Con *first, Con *second, orientation_t orientation, |
| 14 |
new_position = event->root_y; |
| 15 |
} |
| 16 |
|
| 17 |
+ /* Move the pointer to the resizebar. */ |
| 18 |
+ xcb_warp_pointer(conn, XCB_NONE, event->root, 0, 0, 0, 0, event->root_x, event->root_y); |
| 19 |
+ |
| 20 |
mask = XCB_CW_BACK_PIXEL; |
| 21 |
values[0] = config.client.focused.border; |
| 22 |
|