diff options
author | cy <cy@FreeBSD.org> | 2002-12-01 10:53:15 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2002-12-01 10:53:15 +0800 |
commit | 89b143ba3cd23be9a6faf97002664ce4b63ad296 (patch) | |
tree | 43bc08260a03533660ecca7794ce55dc7897bd09 /x11-wm | |
parent | 726c5c07da76f63237a4efd470393ee042e10bea (diff) | |
download | freebsd-ports-gnome-89b143ba3cd23be9a6faf97002664ce4b63ad296.tar.gz freebsd-ports-gnome-89b143ba3cd23be9a6faf97002664ce4b63ad296.tar.zst freebsd-ports-gnome-89b143ba3cd23be9a6faf97002664ce4b63ad296.zip |
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')
-rw-r--r-- | x11-wm/fvwm2-devel/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/fvwm2-devel/files/patch-modules::FvwmPager::x_pager.c | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/x11-wm/fvwm2-devel/Makefile b/x11-wm/fvwm2-devel/Makefile index 364506c87799..c0b8b4248e13 100644 --- a/x11-wm/fvwm2-devel/Makefile +++ b/x11-wm/fvwm2-devel/Makefile @@ -7,6 +7,7 @@ PORTNAME= fvwm PORTVERSION= 2.5.4 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \ http://www.fvwm.org/generated/icon_download/ 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; + } + } |