X11DRV_XRandR_Cleanup() is not used
Francois Gouget
fgouget at free.fr
Wed Feb 4 09:14:16 CST 2009
dlls/x11drv/xrandr.c defines a X11DRV_XRandR_Cleanup() function but it
is not actually used anywhere. If I remember correctly past wine-devel
emails, restoring the right XRandR mode when an application exits can be
tricky (especially in case of a crash). So maybe this is why the
function is not called, though I'm not sure it's even related.
So my question is: should this function be removed? Or should I simply
send a patch calling it from x11drv_main.c:process_detach(), enclosed
with the appropriate SONAME_LIBXRANDR?
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
Good judgment comes from experience, and experience comes from bad judgment
-- Barry LePatner
More information about the wine-devel
mailing list