FreeRDP/FreeRDP — pull request #198 by sunds (2011-11-02 20:57:23+00:00)
Title: Fixes for desktop properties and window placement

A few bug fixes for the X-windows client:

o Some desktop managers (like Sun Java Desktop (gnome)) don't have some properties being used to determine the current desktop. While xfreerdp correctly falls back on a default case, it was leaking property memory. Fixed this leak.

o xfreerdp was incorrectly calculating window with for windows placed partially off-screen to the left (x origin < 0). This code was unnecessary; X correctly handles windows partially off-screen (top, bottom, left, right). Fix was to remove this code.

o VisibilityNotify function was accessing elements out of XEvent that are not set. Looks like a cut-n-paste error from the ExposeNotify function. Fixed this by removing the duplicated code.

o Removed unused pixmap per early email to the list.