Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0fdff6bb
Commit
0fdff6bb
authored
Nov 11, 1995
by
Richard M. Stallman
Browse files
(HACK_EDITRES): Define here as in xfns.c.
(XTread_socket): Test HACK_EDITRES.
parent
a4e4b916
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/xterm.c
src/xterm.c
+6
-3
No files found.
src/xterm.c
View file @
0fdff6bb
...
@@ -85,8 +85,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -85,8 +85,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef USE_X_TOOLKIT
#ifdef USE_X_TOOLKIT
extern void free_frame_menubar ();
extern void free_frame_menubar ();
extern
void
_XEditResCheckMessages
();
extern FRAME_PTR x_menubar_window_to_frame ();
extern FRAME_PTR x_menubar_window_to_frame ();
#if (XtSpecificationRelease >= 5) && !defined(NO_EDITRES)
#define HACK_EDITRES
extern void _XEditResCheckMessages ();
#endif /* not NO_EDITRES */
#endif /* USE_X_TOOLKIT */
#endif /* USE_X_TOOLKIT */
#ifndef USE_X_TOOLKIT
#ifndef USE_X_TOOLKIT
...
@@ -3420,7 +3423,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
...
@@ -3420,7 +3423,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
f->output_data.x->top_pos = new_y;
f->output_data.x->top_pos = new_y;
}
}
}
}
#if
def
ined (USE_X_TOOLKIT) && defined (HAVE_X11R5)
#ifdef
HACK_EDITRES
else if (event.xclient.message_type
else if (event.xclient.message_type
== dpyinfo->Xatom_editres)
== dpyinfo->Xatom_editres)
{
{
...
@@ -3429,7 +3432,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
...
@@ -3429,7 +3432,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
_XEditResCheckMessages (f->output_data.x->widget, NULL,
_XEditResCheckMessages (f->output_data.x->widget, NULL,
&event, NULL);
&event, NULL);
}
}
#endif
/*
USE_X_TOOLKIT and HAVE_X11R5
*/
#endif /*
HACK_EDITRES
*/
}
}
break;
break;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment