Commit graph

172 commits

Author SHA1 Message Date
Jan Djärv
e091085739 * xterm.h (struct x_output): New member, toolbar_detached.
* gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to
38.
(xg_tool_bar_detach_callback): Set toolbar_detached to 1.
(xg_tool_bar_attach_callback): Set toolbar_detached to 0.
(xg_create_tool_bar): Initialize toolbar_detached.
(update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if
toolbar_detached is zero.
2005-01-08 16:49:14 +00:00
Kenichi Handa
7e2d9efd85 (struct x_display_info): New member Xatom_AVERAGE_WIDTH. 2004-12-30 12:24:39 +00:00
Jan Djärv
5ae53dcfca * xmenu.c (x_menu_in_use): Removed.
(x_menu_set_in_use): Also set popup_activated_flag.

* xfns.c (Fx_file_dialog): Call popup_activated instead of
x_menu_in_use.  Call x_menu_set_in_use in Motif version also.

* xterm.h: (x_menu_in_use): Removed.
2004-11-16 20:52:32 +00:00
Jan Djärv
b393528900 * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use.
Record unwind with clean_up_file_dialog.

* xterm.h: Declare x_menu_in_use, x_menu_set_in_use,
x_menu_wait_for_event.

* xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions.
2004-11-13 23:29:11 +00:00
Kim F. Storm
cc68f410e5 (x_start_queuing_selection_requests)
(x_stop_queuing_selection_requests, x_handle_selection_request)
(x_handle_selection_clear): Remove prototypes.
(x_handle_selection_event): Add prototype.
2004-11-05 11:31:03 +00:00
Jan Djärv
c27ed90af5 * xterm.h (x_output): New member `xic_base_fontname'.
(FRAME_XIC_BASE_FONTNAME): New macro.
(xic_free_xfontset): Declare.

* xfns.c (xic_create_xfontset): Share fontsets between frames
based on base_fontname.
(xic_free_xfontset): New function.
(free_frame_xic): Use it.
(xic_set_xfontset): Ditto.

* xterm.c (xim_destroy_callback): Ditto.
2004-10-21 18:38:58 +00:00
Jan Djärv
3aca207808 * xterm.h (XSync): If USE_GTK, define XSync as process_all and then
XSync.
2004-10-20 16:53:27 +00:00
Kim F. Storm
dbb37962f9 Add comment. 2004-10-15 15:09:58 +00:00
Kim F. Storm
7ba426fb28 Include Xutil.h after keysym.h to work around bug
(incorrectly recognising AltGr key) in some X versions.
2004-10-13 22:05:40 +00:00
Kim F. Storm
a0ecb2ac8e Update copyright. 2004-06-16 15:10:55 +00:00
Jan Djärv
2f4a048d1b * xterm.h (struct x_display_info): Typo in comment fixed. 2004-06-14 21:51:49 +00:00
Kim F. Storm
c7b08a9de6 (image_ascent): Remove prototype. 2004-04-20 22:22:45 +00:00
Kim F. Storm
1a1203b050 (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap)
(x_reference_bitmap, x_create_bitmap_from_data)
(x_create_bitmap_from_file, x_destroy_bitmap)
(x_create_bitmap_mask): Move prototypes to dispextern.h.
2004-03-11 00:24:27 +00:00
Kim F. Storm
b5f2e4cd98 (x_session_check_input): Fix prototype. 2004-02-27 23:50:00 +00:00
Jan Djärv
1ab538c85d Add declaration of free_frame_menubar. 2004-02-05 12:56:59 +00:00
Jan Djärv
8998a957ba * xterm.h: Add x_handle_dnd_message, x_check_property_data,
x_fill_property_data, x_property_data_to_lisp and check_x_display_info.
2004-02-03 16:33:53 +00:00
Jan Djärv
810f2256ba Implement multiple display handling for GTK. 2003-11-16 16:05:24 +00:00
Jan Djärv
068ae0fd96 * w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move,
that function is removed.

* xterm.c (x_set_offset): Use move_offset_left/top instead of
x/y_pixels_outer_diff.
(x_check_expected_move): Calculate move_offset_left/top.

* xterm.h (struct x_output): New members: move_offset_top/left.

* frame.c (x_set_frame_parameters): x_fullscreen_move removed,
call x_set_offset directly.

* frame.h (enum): FULLSCREEN_MOVE_WAIT removed.
2003-10-05 13:42:04 +00:00
Jan Djärv
c1f0671ae9 Make (modify-frame-parameters nil '((top . 0))) work for all types
of window managers in X.
2003-10-05 11:52:47 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Jan Djärv
9d35adc75f Fix pixel calculation for TrueVisuals. 2003-08-30 17:44:40 +00:00
Jan Djärv
231d6cfb0c Create and initialize a client leader window so session management
doesn't restart Emacs twice.
2003-08-21 19:54:47 +00:00
Kenichi Handa
1552d1ea9c (struct x_bitmap_record): New member have_mask. 2003-07-31 00:51:34 +00:00
Juanma Barranquero
adbb56cbf0 (xg_set_icon): New function. 2003-07-13 17:30:09 +00:00
Kim F. Storm
43a74f12dd (struct x_output): Move members left_pos, top_pos,
border_width, pixel_height, pixel_width, line_height,
internal_border_width, vertical_scroll_bar_extra,
left_fringe_width, right_fringe_width, fringe_cols,
fringes_extra, win_gravity, size_hint_flags, want_fullscreen,
x_pixels_diff, and y_pixels_diff to struct frame (frame.h).
(FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h.
(FRAME_DEFAULT_FONT_WIDTH): Remove macro.
(PIXEL_WIDTH, PIXEL_HEIGHT)
(FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH)
(FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to
frame.h and renamed [see frame.h changes].
(CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH)
(CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL)
(PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h
and renamed [see frame.h changes].
2003-05-24 22:10:38 +00:00
Dave Love
7ad6faa724 (use_xim) [HAVE_X_I18N]: Declare. 2003-05-21 22:11:31 +00:00
Kim F. Storm
47103c7753 (EMACS_CLASS): Remove. Use generic define.
(struct w32_display_info): Fix type of xrdb member.
(enum FULLSCREEN_*): Remove.
Remove prototypes for generic functions (in frame.h).
2003-03-31 20:36:37 +00:00
Kim F. Storm
4612b15525 (STORE_NATIVE_RECT): New macro. 2003-03-21 23:00:21 +00:00
Kim F. Storm
b11ce3eeb6 (No_Cursor): Declare as None for X.
(struct mac_output): Replace member cross_cursor by hand_cursor.
2003-03-21 13:52:57 +00:00
Kim F. Storm
fde8984c9f (FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET)
(FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE)
(STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2):
New macros for consolidated code.
2003-03-16 20:47:08 +00:00
Kim F. Storm
055d3c98b7 Use generic compute_fringe_widths. 2003-03-12 12:12:26 +00:00
Jan Djärv
58e91b7793 * xterm.h (XSync): Define as gdk_window_process_all_updates for GTK. 2003-03-02 13:13:33 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Jan Djärv
1fcfb86611 Fix input methods for GTK.
Don't right justify GTK help menu.
2003-01-25 16:25:39 +00:00
Jan Djärv
488dd4c404 GTK version 2003-01-19 21:50:03 +00:00
Jan Djärv
bf3382455d *** empty log message *** 2003-01-08 20:06:05 +00:00
Kim F. Storm
f0c8e81d17 (enum text_cursor_kinds): Removed.
(struct output_x) <current_cursor, desired_cursor, cursor_width>
<blink_off_cursor, blink_off_cursor_width>: Members removed.
(FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR)
(FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed.
(x_specified_cursor_type): Remove prototype.
2002-08-30 12:05:31 +00:00
Richard M. Stallman
cff72e2bc6 (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): New macros.
(struct x_output): New fields blink_off_cursor, blink_off_cursor_width.
2002-08-27 18:41:51 +00:00
Kenichi Handa
18538ab385 (struct x_display_info): New member Xatom_UTF8_STRING. 2002-08-14 00:59:15 +00:00
Richard M. Stallman
1475142b5a (FRAME_CURSOR_WIDTH): New macro. 2002-07-27 18:56:36 +00:00
Jan Djärv
e5cd5390a3 (struct x_output): Add focus_state. 2002-06-28 19:41:21 +00:00
Pavel Janík
e43bd4f5b2 *** empty log message *** 2002-06-13 15:00:02 +00:00
Eli Zaretskii
6fab1572a3 (text_cursor_kinds): New enumeration member HBAR_CURSOR. 2002-04-19 11:51:16 +00:00
Jan Djärv
3cf9b89ee6 Extern declare x_session_check_input () and x_session_initialize (). 2002-03-10 16:14:00 +00:00
Eli Zaretskii
b443e0bd7d (x_encode_text): Update prototype. 2002-02-22 13:15:02 +00:00
Kim F. Storm
64421b63fc (struct x_display_info): Add mouse_face_hidden. 2002-02-16 23:54:42 +00:00
Pavel Janík
baf10d8f55 Fix typos. 2002-01-27 16:44:10 +00:00
Eli Zaretskii
d517010aef (struct x_output): New members want_fullscreen,
x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and
y_pixels_outer_diff.
2002-01-13 12:21:19 +00:00
Kim F. Storm
d246e5586b struct x_output): Add left_fringe_width, right_fringe_width,
and fringe_cols fields.
(FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros.
(FRAME_X_FRINGE_COLS): Use fringe_cols field.
(FRAME_X_FRINGE_WIDTH): Use fringes_extra field.
(FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field.
(FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field.
(x_compute_fringe_widths): Add prototype.
2001-12-01 01:16:32 +00:00
Pavel Janík
86e9de5f07 (x_update_cursor): Remove duplicated prototype. 2001-11-16 22:52:53 +00:00