summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThorsten Wißmann <edu@thorsten-wissmann.de>2012-12-28 12:19:49 +0100
committerThorsten Wißmann <edu@thorsten-wissmann.de>2012-12-28 12:25:09 +0100
commit8e2232e0d1fb692cd519a08b3bf77bedae78903b (patch)
treea8b8ea96bee32868da10ec2b3d77128aff295c44 /src
parent52ab20a20efed845c8bbcd8a7ce2d223b2cc6d41 (diff)
Don't flicker on frame split
First show the new frame of the children and then hide the frame of the parent node. This avoids flickering when splitting a frame. The frame background still flickers when removing a frame.
Diffstat (limited to 'src')
-rw-r--r--src/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout.c b/src/layout.c
index c6728b33..05d3b7fc 100644
--- a/src/layout.c
+++ b/src/layout.c
@@ -877,7 +877,7 @@ static void frame_update_frame_window_visibility_helper(HSFrame* frame) {
}
void frame_update_frame_window_visibility(HSFrame* frame) {
- frame_do_recursive(frame, frame_update_frame_window_visibility_helper, 0);
+ frame_do_recursive(frame, frame_update_frame_window_visibility_helper, 2);
}
HSFrame* frame_current_selection() {