public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in src/patchsets/emacs/22.3: 06_all_xterm-undef-ref.patch
@ 2009-11-09 14:05 Ulrich Mueller (ulm)
  0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2009-11-09 14:05 UTC (permalink / raw
  To: gentoo-commits

ulm         09/11/09 14:05:09

  Added:                06_all_xterm-undef-ref.patch
  Log:
  Add patch for bug 292492.

Revision  Changes    Path
1.1                  src/patchsets/emacs/22.3/06_all_xterm-undef-ref.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/emacs/22.3/06_all_xterm-undef-ref.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/emacs/22.3/06_all_xterm-undef-ref.patch?rev=1.1&content-type=text/plain

Index: 06_all_xterm-undef-ref.patch
===================================================================
http://bugs.gentoo.org/292492
http://emacsbugs.donarmstrong.com/4336
Define x_*_window_to_frame for non-toolkit.
Patch by Jan Djärv <jan.h.d@swipnet.se>, from upstream CVS

--- emacs-22.3-orig/src/xterm.h
+++ emacs-22.3/src/xterm.h
@@ -412,10 +412,13 @@
 
 extern struct frame *x_window_to_frame P_ ((struct x_display_info *, int));
 
-#if defined (USE_X_TOOLKIT) || defined (USE_GTK)
 extern struct frame *x_any_window_to_frame P_ ((struct x_display_info *, int));
 extern struct frame *x_menubar_window_to_frame P_ ((struct x_display_info *, int));
 extern struct frame *x_top_window_to_frame P_ ((struct x_display_info *, int));
+
+#if ! defined (USE_X_TOOLKIT) && ! defined (USE_GTK)
+#define x_any_window_to_frame x_window_to_frame
+#define x_top_window_to_frame x_window_to_frame
 #endif
 
 /* This is a chain of structures for all the X displays currently in use.  */






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-09 14:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09 14:05 [gentoo-commits] gentoo commit in src/patchsets/emacs/22.3: 06_all_xterm-undef-ref.patch Ulrich Mueller (ulm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox