Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 601364 Details for
Bug 844165
Review Request: mate-window-manager - Unobtrusive window manager
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
https://bugzilla.gnome.org/show_bug.cgi?id=604319
metacity-2.28-xioerror-unknown-display.patch (text/plain), 2.02 KB, created by
Wolfgang Ulbrich
on 2012-07-30 23:51:23 UTC
(
hide
)
Description:
https://bugzilla.gnome.org/show_bug.cgi?id=604319
Filename:
MIME Type:
Creator:
Wolfgang Ulbrich
Created:
2012-07-30 23:51:23 UTC
Size:
2.02 KB
patch
obsolete
>From 7c30ba2d034050e8e7d1776ea7541495bdf898b3 Mon Sep 17 00:00:00 2001 >From: Owen W. Taylor <otaylor@fishsoup.net> >Date: Fri, 20 Nov 2009 10:42:07 -0500 >Subject: [PATCH] Handle XError and XIOError for unknown displays > >The atk-bridge GTK+ module opens its own display; if we get an >XIOError on that display, we shouldn't abort with a meta_bug() >but just exit normally. Also fix a segfault if we got an XError >for that display. >--- > src/core/errors.c | 13 +++++-------- > 1 files changed, 5 insertions(+), 8 deletions(-) > >diff --git a/src/core/errors.c b/src/core/errors.c >index 8de4608..59f9c71 100644 >--- a/src/core/errors.c >+++ b/src/core/errors.c >@@ -222,10 +222,10 @@ x_error_handler (Display *xdisplay, > > display = meta_display_for_x_display (xdisplay); > >- /* Display can be NULL here because the compositing manager >- * has its own Display, but Xlib only has one global error handler >+ /* Display can be NULL here Xlib only has one global error handler; and >+ * there might be other displays open in the process. > */ >- if (display->error_traps > 0) >+ if (display && display->error_traps > 0) > { > /* we're in an error trap, chain to the trap handler > * saved from GDK >@@ -264,21 +264,18 @@ x_io_error_handler (Display *xdisplay) > > display = meta_display_for_x_display (xdisplay); > >- if (display == NULL) >- meta_bug ("IO error received for unknown display?\n"); >- > if (errno == EPIPE) > { > meta_warning (_("Lost connection to the display '%s';\n" > "most likely the X server was shut down or you killed/destroyed\n" > "the window manager.\n"), >- display->name); >+ display ? display->name : DisplayString (xdisplay)); > } > else > { > meta_warning (_("Fatal IO error %d (%s) on display '%s'.\n"), > errno, g_strerror (errno), >- display->name); >+ display ? display->name : DisplayString (xdisplay)); > } > > /* Xlib would force an exit anyhow */ >-- >1.6.5.2 >
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 844165
:
601356
|
601357
|
601358
|
601359
|
601360
|
601361
|
601362
|
601363
| 601364 |
601365
|
601366
|
601367