Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 137223 Details for
Bug 200628
app-editors/nedit does not compile against openmotif-2.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for the xcomposite problem
nedit-5.5-argbvisuals.patch (text/plain), 1.43 KB, created by
Ioan Marius Curelariu
on 2007-11-28 12:26:05 UTC
(
hide
)
Description:
patch for the xcomposite problem
Filename:
MIME Type:
Creator:
Ioan Marius Curelariu
Created:
2007-11-28 12:26:05 UTC
Size:
1.43 KB
patch
obsolete
> >--- source/nedit.c.or 2004-09-02 11:49:56.000000000 +0300 >+++ source/nedit.c 2007-05-29 15:15:19.000000000 +0300 >@@ -434,6 +434,20 @@ > and -iconic are per-window and it should not be allowed to consume them, > so we temporarily masked them out. */ > maskArgvKeywords(argc, argv, protectedKeywords); >+ /* X.Org 6.8 and above add support for ARGB visuals (with alpha-channel), >+ typically with a 32-bit color depth. By default, NEdit uses the visual >+ with the largest color depth. However, both OpenMotif and Lesstif >+ cannot handle ARGB visuals (crashes, weird display effects, ...), so >+ NEdit should avoid selecting such a visual. >+ Unfortunatly, there appears to be no reliable way to identify >+ ARGB visuals that doesn't require some of the recent X.Org >+ extensions. Luckily, the X.Org developers have provided a mechanism >+ that can hide these problematic visuals from the application. This can >+ be achieved by setting the XLIB_SKIP_ARGB_VISUALS environment variable. >+ Users can set this variable before starting NEdit, but it is much >+ more convenient that NEdit takes care of this. This must be done before >+ the display is opened (empirically verified). */ >+ putenv("XLIB_SKIP_ARGB_VISUALS=1"); > TheDisplay = XtOpenDisplay (context, NULL, APP_NAME, APP_CLASS, > NULL, 0, &argc, argv); > unmaskArgvKeywords(argc, argv, protectedKeywords);
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 200628
:
137221
| 137223 |
137225