Add option for WITH_DEBUG_WND for window order updating, already existing in code

Correct sign on variables in xf_rail_paint
This commit is contained in:
Not Nyguen Doze 2011-12-05 15:16:45 -08:00
parent 8f38bdb87a
commit a70ca93c43
4 changed files with 8 additions and 4 deletions

View File

@ -28,14 +28,16 @@
#include "xf_window.h"
#include "xf_rail.h"
void xf_rail_paint(xfInfo* xfi, rdpRail* rail, uint32 uleft, uint32 utop, uint32 uright, uint32 ubottom)
void xf_rail_paint(xfInfo* xfi, rdpRail* rail, sint32 uleft, sint32 utop, uint32 uright, uint32 ubottom)
{
xfWindow* xfw;
rdpWindow* window;
boolean intersect;
uint32 iwidth, iheight;
uint32 ileft, itop, iright, ibottom;
uint32 wleft, wtop, wright, wbottom;
sint32 ileft, itop;
uint32 iright, ibottom;
sint32 wleft, wtop;
uint32 wright, wbottom;
window_list_rewind(rail->list);

View File

@ -22,7 +22,7 @@
#include "xfreerdp.h"
void xf_rail_paint(xfInfo* xfi, rdpRail* rail, uint32 uleft, uint32 utop, uint32 uright, uint32 ubottom);
void xf_rail_paint(xfInfo* xfi, rdpRail* rail, sint32 uleft, sint32 utop, uint32 uright, uint32 ubottom);
void xf_rail_register_callbacks(xfInfo* xfi, rdpRail* rail);
void xf_rail_send_client_system_command(xfInfo* xfi, uint32 windowId, uint16 command);
void xf_rail_send_activate(xfInfo* xfi, Window xwindow, boolean enabled);

View File

@ -22,3 +22,4 @@ option(WITH_SSE2 "Use SSE2 optimization." OFF)
option(WITH_SSE2_TARGET "Allow compiler to generate SSE2 instructions." OFF)
option(WITH_DEBUG_REDIR "Redirection debug messages" OFF)
option(WITH_DEBUG_CLIPRDR "Print clipboard redirection debug messages" OFF)
option(WITH_DEBUG_WND "Print window order debug messages" OFF)

View File

@ -45,5 +45,6 @@
#cmakedefine WITH_DEBUG_ORDERS
#cmakedefine WITH_DEBUG_REDIR
#cmakedefine WITH_DEBUG_CLIPRDR
#cmakedefine WITH_DEBUG_WND
#endif