diff options
author | Georgy A. Shepelev <gerik@super-komputer6-44.ultra> | 2009-09-22 16:58:40 +0400 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-22 15:03:23 -0700 |
commit | 61f5e8ee407d361bc10d704ab67a828c54678bfa (patch) | |
tree | 372592cae9a419324b31aec3de861aec8ee6c277 | |
parent | 748cfcc771c7f599d8087c7aa044bc5ff770da1d (diff) |
The whole widget borders width could not be set to zero.
Signed-off-by: Georgy A. Shepelev <shepelev.georgy@googlemail.com>
Tested-by: Georgy A. Shepelev <shepelev.georgy@googlemail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r-- | greeter/Login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/greeter/Login.c b/greeter/Login.c index 4903ea2..49dab2b 100644 --- a/greeter/Login.c +++ b/greeter/Login.c @@ -670,8 +670,7 @@ draw_it (LoginWidget w) EraseCursor (w); - if( (w->login.outframewidth) < 1 ) - w->login.outframewidth = 1; + /* draw window borders */ for(i=1;i<=(w->login.outframewidth);i++) { XDrawLine(XtDisplay (w), XtWindow (w), w->login.hiGC, @@ -727,6 +726,7 @@ draw_it (LoginWidget w) topLeftGC = botRightGC = w->login.bgGC; } + /* draw borders of editboxes */ for (i=1; i<=(w->login.inframeswidth); i++) { /* Make top/left sides */ |