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
f676886a
Commit
f676886a
authored
Jul 14, 1992
by
Jim Blandy
Browse files
*** empty log message ***
parent
7708e9bd
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1699 additions
and
1701 deletions
+1699
-1701
src/xfns.c
src/xfns.c
+844
-844
src/xselect.c.old
src/xselect.c.old
+4
-4
src/xterm.c
src/xterm.c
+840
-842
src/xterm.h
src/xterm.h
+11
-11
No files found.
src/xfns.c
View file @
f676886a
This diff is collapsed.
Click to expand it.
src/xselect.c.old
View file @
f676886a
...
...
@@ -21,7 +21,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "lisp.h"
#include "xterm.h"
#include "buffer.h"
#include "
screen
.h"
#include "
frame
.h"
#ifdef HAVE_X11
...
...
@@ -127,7 +127,7 @@ own_selection (selection_type, time)
|| ((EQ (selection_type, Qclipboard)) && !NILP (Vx_clipboard_value)))
return 1;
selecting_window = selected_
screen
->display.x->window_desc;
selecting_window = selected_
frame
->display.x->window_desc;
XSetSelectionOwner (x_current_display, selection_type,
selecting_window, time);
owner_window = XGetSelectionOwner (x_current_display, selection_type);
...
...
@@ -212,7 +212,7 @@ x_disown_selection (old_owner, selection, changed_owner_time)
Atom selection;
Time changed_owner_time;
{
struct
screen
*s = x_window_to_
screen
(old_owner);
struct
frame
*s = x_window_to_
frame
(old_owner);
if (s) /* We are the owner */
{
...
...
@@ -531,7 +531,7 @@ get_selection_value (type)
BLOCK_INPUT;
requestor_time = last_event_timestamp;
requestor_window = selected_
screen
->display.x->window_desc;
requestor_window = selected_
frame
->display.x->window_desc;
XConvertSelection (x_current_display, type, XA_STRING,
Xatom_emacs_selection, requestor_window, requestor_time);
XIfEvent (x_current_display,
...
...
src/xterm.c
View file @
f676886a
This diff is collapsed.
Click to expand it.
src/xterm.h
View file @
f676886a
...
...
@@ -166,12 +166,12 @@ extern int x_pending_input;
extern
Display
*
x_current_display
;
extern
struct
screen
*
x_window_to_
screen
();
extern
struct
frame
*
x_window_to_
frame
();
/* The
screen
(if any) which has the X window that has keyboard focus.
Zero if none. This is examined by Ffocus_
screen
in xfns.c */
/* The
frame
(if any) which has the X window that has keyboard focus.
Zero if none. This is examined by Ffocus_
frame
in xfns.c */
struct
screen
*
x_focus_
screen
;
struct
frame
*
x_focus_
frame
;
#ifdef HAVE_X11
/* Variables associated with the X display screen this emacs is using. */
...
...
@@ -218,7 +218,7 @@ enum text_cursor_kinds {
#define PIXEL_WIDTH(s) ((s)->display.x->pixel_width)
#define PIXEL_HEIGHT(s) ((s)->display.x->pixel_height)
/* Each X
screen
object points to its own struct x_display object
/* Each X
frame
object points to its own struct x_display object
in the display.x field. The x_display structure contains all
the information that is specific to X windows. */
...
...
@@ -235,7 +235,7 @@ struct x_display
int
pixel_height
,
pixel_width
;
#ifdef HAVE_X11
/* The tiled border used when the mouse is out of the
screen
. */
/* The tiled border used when the mouse is out of the
frame
. */
Pixmap
border_tile
;
/* Here are the Graphics Contexts for the default font. */
...
...
@@ -245,12 +245,12 @@ struct x_display
#endif
/* HAVE_X11 */
/* Width of the internal border. This is a line of background color
just inside the window's border. When the
screen
is selected,
just inside the window's border. When the
frame
is selected,
a highlighting is displayed inside the internal border. */
int
internal_border_width
;
/* The X window used for this
screen
.
May be zero while the
screen
object is being created
/* The X window used for this
frame
.
May be zero while the
frame
object is being created
and the X window has not yet been created. */
Window
window_desc
;
...
...
@@ -302,7 +302,7 @@ struct x_display
/* The name that was associated with the icon, the last time
it was refreshed. Usually the same as the name of the
buffer in the currently selected window in the
screen
*/
buffer in the currently selected window in the
frame
*/
char
*
icon_label
;
/* Flag to set when the X window needs to be completely repainted. */
...
...
@@ -324,7 +324,7 @@ struct x_display
fixed width, and to have the same height and width. */
#ifdef HAVE_X11
/* Table of GC's used for this
screen
. */
/* Table of GC's used for this
frame
. */
GC
*
gc_table
;
/* How many GCs are in the table. */
...
...
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