diff options
Diffstat (limited to 'src/resize.c')
-rw-r--r-- | src/resize.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resize.c b/src/resize.c index 97a0f946..6ad92cc0 100644 --- a/src/resize.c +++ b/src/resize.c @@ -238,6 +238,10 @@ void resize_graphical_handler(Con *first, Con *second, orientation_t orientation const struct callback_params params = {orientation, output, helpwin, &new_position, &threshold_exceeded}; + /* Re-render the tree before returning to the event loop (drag_pointer() + * runs its own event-loop) in case if there are unrendered updates. */ + tree_render(); + /* `drag_pointer' blocks until the drag is completed. */ drag_result_t drag_result = drag_pointer(NULL, event, grabwin, 0, use_threshold, resize_callback, ¶ms); |