diff options
author | Cy Schubert <cy@FreeBSD.org> | 2002-12-01 02:53:15 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2002-12-01 02:53:15 +0000 |
commit | 9edf7328e79fabf84e2d6bd649402f36d5592405 (patch) | |
tree | 00e0a931cd4aa1faa6ed4918244ba14436193dab /x11-wm/fvwm2-devel/files | |
parent | Protect post-install target which is redefined by a slave port. (diff) |
Fix FvwmPager 100% CPU problem.
PR: 44820
Submitted by: parv_fm@emailgroups.net
Approved by: kris (wearing his portsmgr hat)
Diffstat (limited to 'x11-wm/fvwm2-devel/files')
-rw-r--r-- | x11-wm/fvwm2-devel/files/patch-modules::FvwmPager::x_pager.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-wm/fvwm2-devel/files/patch-modules::FvwmPager::x_pager.c b/x11-wm/fvwm2-devel/files/patch-modules::FvwmPager::x_pager.c new file mode 100644 index 000000000000..d8c25416f123 --- /dev/null +++ b/x11-wm/fvwm2-devel/files/patch-modules::FvwmPager::x_pager.c @@ -0,0 +1,24 @@ +--- modules/FvwmPager/x_pager.c.old Thu Oct 24 00:46:59 2002 ++++ modules/FvwmPager/x_pager.c Fri Nov 1 19:26:11 2002 +@@ -1630,8 +1630,8 @@ + XDrawLine( + dpy,Desks[desk].w,Desks[desk].DashedGC, + x1,y1,x1,y2); +- x += Scr.MyDisplayWidth; + } ++ x += Scr.MyDisplayWidth; + } + y = Scr.MyDisplayHeight; + x1 = 0; +@@ -1640,9 +1640,11 @@ + { + y1 = (y * desk_h) / Scr.VHeight; + if (!use_no_separators) ++ { + XDrawLine( + dpy,Desks[desk].w,Desks[desk].DashedGC, + x1,y1,x2,y1); ++ } + y += Scr.MyDisplayHeight; + } + } |