unnecessary redraws on xfwm4 window resizing
Submitted by rtc..@..xg8.de
Assigned to Olivier Fourdan @olivier
Description
I noticed some oddity when resizing windows with xfwm4 by using the upper left corner to make the window larger. If I do that, parts of windows that should be completely covered by the window to be resized before and after the resize are visible for a short amount of time. It looks as if xfwm first changes the window's position, keeping its old size, and only after that it is enlarged.
x <- pull upper left +------+ +------###
\ corner | | only | ###
+------+ => | |## now | ###
| | +------+## => ##########
| | background ######## ########## <- redrawn
+------+ redrawn -> ######## ##########
(unnecessarily)
The right thing would obviously be to skip the step in the middle. This is quite annoying because of the flickering the slowliness caused by the unnecessary redraws.
I configured xfwm4 to use opaque resizing, not wireframe resizing. I observed this problem on both Fedora 9 and Ubuntu 8, so I think it's a problem of xfwm4 itself. Metacity and fvwm don't have this problem.
Version: 4.4.x