Usermode/login - Disabled screen clear so kernel boot messages can be seen
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / decorator.c
index 99ceed2..6239b76 100644 (file)
@@ -41,8 +41,6 @@ void Decorator_UpdateBorderSize(tWindow *Window)
        if( Window->Flags & WINFLAG_MAXIMIZED )
                return ;
 
-       _SysDebug("BorderL = %i", ciSideBorderWidth);
-       
        Window->BorderB = ciBottomBorderWidth;
        Window->BorderR = ciSideBorderWidth;
        Window->BorderL = ciSideBorderWidth;
@@ -50,7 +48,7 @@ void Decorator_UpdateBorderSize(tWindow *Window)
 
 void Decorator_Redraw(tWindow *Window)
 {
-        int    bActive;
+        int    bActive = 0;
         int    text_width, text_height;
        
        // TODO: This could possibly be expensive, but is there a better way?
@@ -85,7 +83,7 @@ void Decorator_Redraw(tWindow *Window)
 
        WM_Render_GetTextDims(
                NULL,   // TODO: Select font
-               Window->Title ? Window->Title : "jI",
+               Window->Title ? Window->Title : "jI", -1,
                &text_width, &text_height
                );
        WM_Render_DrawText(Window,
@@ -93,7 +91,7 @@ void Decorator_Redraw(tWindow *Window)
                Window->W - ciTitlebarHeight - 4, text_height,
                NULL,   // TODO: Select font
                (bActive ? cColourActive_TitleText : cColourInactive_TitleText),
-               Window->Title ? Window->Title : "--"
+               Window->Title ? Window->Title : "--", -1
                );
        
        // Maximized windows don't have any other borders

UCC git Repository :: git.ucc.asn.au