FreeBSD Bugzilla – Attachment 79177 Details for
Bug 113782
[MAINTAINER] x11/mrxvt-devel: Add patch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mrxvt-devel-0.5.2_2.patch
mrxvt-devel-0.5.2_2.patch (text/plain), 4.37 KB, created by
Lars Engels
on 2007-06-17 00:30:02 UTC
(
hide
)
Description:
mrxvt-devel-0.5.2_2.patch
Filename:
MIME Type:
Creator:
Lars Engels
Created:
2007-06-17 00:30:02 UTC
Size:
4.37 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/x11/mrxvt-devel/Makefile,v >retrieving revision 1.7 >diff -u -u -r1.7 Makefile >--- Makefile 19 May 2007 20:27:06 -0000 1.7 >+++ Makefile 16 Jun 2007 23:20:41 -0000 >@@ -7,7 +7,7 @@ > > PORTNAME= mrxvt-devel > PORTVERSION= 0.5.2 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= x11 > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= materm >Index: files/patch-src-init.c >=================================================================== >RCS file: /home/ncvs/ports/x11/mrxvt-devel/files/patch-src-init.c,v >retrieving revision 1.1 >diff -u -u -r1.1 patch-src-init.c >--- files/patch-src-init.c 31 Oct 2006 08:50:35 -0000 1.1 >+++ files/patch-src-init.c 16 Jun 2007 23:20:41 -0000 >@@ -1,7 +1,5 @@ >-Index: src/init.c >-=================================================================== >---- src/init.c (revision 195) >-+++ src/init.c (working copy) >+--- src/init.c.orig Sat Jun 16 23:26:00 2007 >++++ src/init.c Sat Jun 16 23:26:19 2007 > @@ -41,7 +41,7 @@ > # define DEBUG_X > #else >@@ -11,3 +9,22 @@ > #endif > > #if DEBUG_LEVEL >+@@ -3369,6 +3369,18 @@ >+ wm_hint.initial_state = ISSET_OPTION(r, Opt_iconic) ? IconicState >+ : NormalState; >+ wm_hint.window_group = r->TermWin.parent; >++ >++ /* window icon hint */ >++ if( r->h->rs[Rs_appIcon] ) { >++ XpmReadFileToPixmap(r->Xdisplay, r->TermWin.parent, r->h->rs[Rs_appIcon], >++ &r->h->appIcon, &r->h->appIconMask,0); >++ } >++ if( r->h->appIcon != None && r->h->appIconMask != None ) { >++ wm_hint.icon_pixmap = r->h->appIcon; >++ wm_hint.icon_mask = r->h->appIconMask; >++ wm_hint.flags |= IconPixmapHint | IconMaskHint; >++ } >++ >+ /* class hints */ >+ class_hint.res_name = (char*) r->h->rs[Rs_name]; >+ class_hint.res_class = (char*) APL_CLASS; >Index: files/patch-src-main.c >=================================================================== >RCS file: files/patch-src-main.c >diff -N files/patch-src-main.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-src-main.c 16 Jun 2007 23:20:41 -0000 >@@ -0,0 +1,28 @@ >+--- src/main.c.orig Sun Oct 1 23:50:39 2006 >++++ src/main.c Sat Jun 16 23:10:08 2007 >+@@ -562,6 +562,17 @@ >+ # endif >+ # endif >+ >++ if( NOT_NULL( r->h->appIcon ) ) >++ { >++ XFreePixmap (r->Xdisplay, r->h->appIcon); >++ SET_NULL(r->h->appIcon); >++ } >++ if( NOT_NULL( r->h->appIconMask ) ) >++ { >++ XFreePixmap (r->Xdisplay, r->h->appIconMask); >++ SET_NULL(r->h->appIconMask); >++ } >++ >+ if (IS_CURSOR(r->term_pointer)) >+ { >+ XFreeCursor (r->Xdisplay, r->term_pointer); >+@@ -599,6 +610,7 @@ >+ SET_NULL(r->xftColors); >+ } >+ # endif >++ >+ rxvt_free (r->h); SET_NULL(r->h); >+ rxvt_free (r); SET_NULL(r); >+ >Index: files/patch-src-rxvt.h >=================================================================== >RCS file: files/patch-src-rxvt.h >diff -N files/patch-src-rxvt.h >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-src-rxvt.h 16 Jun 2007 23:20:41 -0000 >@@ -0,0 +1,23 @@ >+--- src/rxvt.h.orig Sun Oct 1 23:50:38 2006 >++++ src/rxvt.h Sat Jun 16 23:10:15 2007 >+@@ -1109,9 +1109,7 @@ >+ >+ #ifdef BACKGROUND_IMAGE >+ Rs_tabbarPixmap, /* tabbar background pixmap */ >+-# if 0 /* appicon not yet implemented */ >+ Rs_appIcon, /* use pixmap as application icon */ >+-# endif >+ #endif >+ >+ #ifdef HAVE_MENUBAR >+@@ -1704,6 +1702,10 @@ >+ succesfully grabbed >+ at prevPos */ >+ #endif >++ >++ Pixmap appIcon; >++ Pixmap appIconMask; >++ >+ }; >+ >+ #ifndef __attribute__ >Index: files/patch-src-xdefaults.c >=================================================================== >RCS file: files/patch-src-xdefaults.c >diff -N files/patch-src-xdefaults.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-src-xdefaults.c 16 Jun 2007 23:20:41 -0000 >@@ -0,0 +1,12 @@ >+--- src/xdefaults.c.orig Sun Oct 1 23:50:37 2006 >++++ src/xdefaults.c Sat Jun 16 23:10:19 2007 >+@@ -234,9 +234,7 @@ >+ STRG(Rs_tabbarPixmap, "tabbarPixmap", "tbpixmap", "file[;geom]", "tabbar background image", 0), >+ BOOL( "tabUsePixmap", "tupixmap", Opt_tabPixmap, >+ "use tabbar background image for tabs" ), >+-# if 0 /* App icon not yet implemented */ >+ STRG(Rs_appIcon, "appIcon", "ic", "file[;geom]", "application icon file", 0), >+-#endif >+ #endif /* BACKGROUND_IMAGE */ >+ >+ BOOL( "utmpInhibit", "ut", Opt_utmpInhibit,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 113782
: 79177