[PATCH] Don't ValidateTree/expose when changing the input shape

Pierre-Loup A. Griffais pgriffais at nvidia.com
Wed May 26 16:57:02 PDT 2010


ValidateTree can be pretty expensive; gnome-shell floods the server with input 
shape requests when animating windows, so that change makes it perform a lot better.

Aaron suggested Keith and Adam as reviewers; are the SetWinSize, SetBorderSize, 
ResizeChildrenWinSize also unneeded when changing the input shape? The only 
thing that looks needed for sure is CheckCursorConfinement(), but I have my 
doubts about the rest.

Thanks,
  - Pierre-Loup


More information about the xorg-devel mailing list