Fixed colored border around workspace buttons
authorKarsten Pedersen <kpedersen@hotmail.co.uk>
Tue, 26 Feb 2013 19:09:17 +0000 (19:09 +0000)
committerJon Trulson <jon@radscan.com>
Wed, 27 Feb 2013 00:28:10 +0000 (17:28 -0700)
cde/programs/dtwm/UI.c

index be0684c76330b1ca6f5db3d0d602d2df55c26530..1d057d0b7974426af67622b3095f5977b63d6f95 100644 (file)
@@ -2112,6 +2112,11 @@ SwitchCreate (BoxData * box_data)
                             panel.inactive_pixel_set->fg);
       XtSetArg (al[ac], XmNbackgroundPixmap, pixmap);  ac++;
    }
+   else
+   {
+      XtSetArg (al[ac], XmNbackground, panel.primary_pixel_set->bg);   ac++;
+      XtSetArg (al[ac], XmNforeground, panel.primary_pixel_set->fg);   ac++;
+   }
 
    switch_data->rc = 
       XmCreateRowColumn (box_data->switch_form, "switch_rc", al, ac);