[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110873: * frame.h (struct frame): Co
From: |
Dmitry Antipov |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110873: * frame.h (struct frame): Convert external_tool_bar member to |
Date: |
Mon, 12 Nov 2012 20:02:46 +0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110873
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Mon 2012-11-12 20:02:46 +0400
message:
* frame.h (struct frame): Convert external_tool_bar member to
1-bit unsigned bitfield.
* termhooks.h (struct terminal): Remove mouse_moved member since
all users are long dead. Adjust comment on mouse_position_hook.
modified:
src/ChangeLog
src/frame.h
src/termhooks.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-11-12 04:00:55 +0000
+++ b/src/ChangeLog 2012-11-12 16:02:46 +0000
@@ -1,5 +1,12 @@
2012-11-12 Dmitry Antipov <address@hidden>
+ * frame.h (struct frame): Convert external_tool_bar member to
+ 1-bit unsigned bitfield.
+ * termhooks.h (struct terminal): Remove mouse_moved member since
+ all users are long dead. Adjust comment on mouse_position_hook.
+
+2012-11-12 Dmitry Antipov <address@hidden>
+
Simplify by using FOR_EACH_FRAME here and there.
* frame.c (next_frame, prev_frame, other_visible_frames)
(delete_frame, visible-frame-list): Use FOR_EACH_FRAME.
=== modified file 'src/frame.h'
--- a/src/frame.h 2012-11-06 13:26:20 +0000
+++ b/src/frame.h 2012-11-12 16:02:46 +0000
@@ -237,7 +237,7 @@
#if defined (USE_GTK) || defined (HAVE_NS)
/* Nonzero means using a tool bar that comes from the toolkit. */
- int external_tool_bar;
+ unsigned external_tool_bar : 1;
#endif
/* Margin at the top of the frame. Used to display the tool-bar. */
=== modified file 'src/termhooks.h'
--- a/src/termhooks.h 2012-11-02 09:44:08 +0000
+++ b/src/termhooks.h 2012-11-12 16:02:46 +0000
@@ -414,14 +414,6 @@
int memory_below_frame; /* Terminal remembers lines scrolled
off bottom */
-#if 0 /* These are not used anywhere. */
- /* EMACS_INT baud_rate; */ /* Output speed in baud */
- int min_padding_speed; /* Speed below which no padding necessary. */
- int dont_calculate_costs; /* Nonzero means don't bother computing
- various cost tables; we won't use them. */
-#endif
-
-
/* Window-based redisplay interface for this device (0 for tty
devices). */
struct redisplay_interface *rif;
@@ -469,10 +461,7 @@
Otherwise, set *bar_window to Qnil, and *x and *y to the column and
row of the character cell the mouse is over.
- Set *time to the time the mouse was at the returned position.
-
- This should clear mouse_moved until the next motion
- event arrives. */
+ Set *time to the time the mouse was at the returned position. */
void (*mouse_position_hook) (struct frame **f, int,
Lisp_Object *bar_window,
enum scroll_bar_part *part,
@@ -480,11 +469,6 @@
Lisp_Object *y,
Time *);
- /* The window system handling code should set this if the mouse has
- moved since the last call to the mouse_position_hook. Calling that
- hook should clear this. */
- int mouse_moved;
-
/* When a frame's focus redirection is changed, this hook tells the
window system code to re-decide where to put the highlight. Under
X, this means that Emacs lies about where the focus is. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110873: * frame.h (struct frame): Convert external_tool_bar member to,
Dmitry Antipov <=