diff options
| author | Jan Djärv | 2009-07-01 14:02:27 +0000 |
|---|---|---|
| committer | Jan Djärv | 2009-07-01 14:02:27 +0000 |
| commit | 3f1c666608f7ca4aeacbcbe5102c2c2c63e345e9 (patch) | |
| tree | 3249bf002f7557d4bd697d94f61e61042f0aad1f /src/ChangeLog | |
| parent | 62aadce704ec87289bf7a666ad29ccc33e19f07d (diff) | |
| download | emacs-3f1c666608f7ca4aeacbcbe5102c2c2c63e345e9.tar.gz emacs-3f1c666608f7ca4aeacbcbe5102c2c2c63e345e9.zip | |
* emacs.c (USAGE3, standard_args): Add -mm and --maximized.
* frame.c: Qmaximized is new.
(x_set_frame_parameters): Do not handle fullscreen specially.
Only set width and height if explicitly set.
(x_set_fullscreen): Handle Qmaximized.
(x_set_font, x_figure_window_size): Do not handle fullscreen specially.
(syms_of_frame): Initialize Qmaximized.
* frame.h (fullscreen_type): Add FULLSCREEN_MAXIMIZED. Declare
Qfullwidth, Qfullheight, Qfullboth, Qmaximized.
* xterm.c (handle_one_xevent): Remove call to x_check_fullscreen
for Expose event. Add call to x_check_fullscreen for MapNotify event.
Remove all code w.r.t. fullscreen from ConfigureNotify event. Do not
set gravity to NorthWestGravity when USE_GTK.
(set_wm_state): New function.
(do_ewmh_fullscreen): Use set_wm_state. Also handle FULLSCREEN_MAXIMIZED.
(x_handle_net_wm_state): Handle FULLSCREEN_MAXIMIZED.
(x_check_fullscreen): Simplify so we only handle EMWH type of fullscreen
or the case when no window manager is running. That means remove calls
to x_real_positions and x_fullscreen_adjust.
* gtkutil.c (flush_and_sync, x_wm_size_hint_off): Remove.
(xg_frame_set_char_size): Remove calls to x_wm_size_hint_off and
flush_and_sync.
(xg_height_changed): New function.
(xg_create_frame_widgets): Remove call to gtk_widget_set_size_request
and gtk_window_set_policy. Set frame gravity after parsing the geometry
string.
(xg_update_frame_menubar, free_frame_menubar)
(xg_tool_bar_detach_callback, xg_tool_bar_attach_callback)
(update_frame_tool_bar, free_frame_tool_bar): Call xg_height_changed.
Remove calls to xg_frame_set_char_size.
* startup.el (command-line-x-option-alist): Add -mm and --maximized.
* NEWS: Mention maximized.
* frames.texi (Size Parameters): Mention maximized for fullscreen.
* xresources.texi (Table of Resources): Mention maximized for
fullscreen.
* cmdargs.texi (Window Size X): -mm/--maximized is new.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 61d2d1b7eba..9108cd39cc6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,40 @@ | |||
| 1 | 2009-07-01 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * emacs.c (USAGE3, standard_args): Add -mm and --maximized. | ||
| 4 | |||
| 5 | * frame.c: Qmaximized is new. | ||
| 6 | (x_set_frame_parameters): Do not handle fullscreen specially. | ||
| 7 | Only set width and height if explicitly set. | ||
| 8 | (x_set_fullscreen): Handle Qmaximized. | ||
| 9 | (x_set_font, x_figure_window_size): Do not handle fullscreen specially. | ||
| 10 | (syms_of_frame): Initialize Qmaximized. | ||
| 11 | |||
| 12 | * frame.h (fullscreen_type): Add FULLSCREEN_MAXIMIZED. Declare | ||
| 13 | Qfullwidth, Qfullheight, Qfullboth, Qmaximized. | ||
| 14 | |||
| 15 | * xterm.c (handle_one_xevent): Remove call to x_check_fullscreen | ||
| 16 | for Expose event. Add call to x_check_fullscreen for MapNotify event. | ||
| 17 | Remove all code w.r.t. fullscreen from ConfigureNotify event. Do not | ||
| 18 | set gravity to NorthWestGravity when USE_GTK. | ||
| 19 | (set_wm_state): New function. | ||
| 20 | (do_ewmh_fullscreen): Use set_wm_state. Also handle FULLSCREEN_MAXIMIZED. | ||
| 21 | (x_handle_net_wm_state): Handle FULLSCREEN_MAXIMIZED. | ||
| 22 | (x_check_fullscreen): Simplify so we only handle EMWH type of fullscreen | ||
| 23 | or the case when no window manager is running. That means remove calls | ||
| 24 | to x_real_positions and x_fullscreen_adjust. | ||
| 25 | |||
| 26 | * gtkutil.c (flush_and_sync, x_wm_size_hint_off): Remove. | ||
| 27 | (xg_frame_set_char_size): Remove calls to x_wm_size_hint_off and | ||
| 28 | flush_and_sync. | ||
| 29 | (xg_height_changed): New function. | ||
| 30 | (xg_create_frame_widgets): Remove call to gtk_widget_set_size_request | ||
| 31 | and gtk_window_set_policy. Set frame gravity after parsing the geometry | ||
| 32 | string. | ||
| 33 | (xg_update_frame_menubar, free_frame_menubar) | ||
| 34 | (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback) | ||
| 35 | (update_frame_tool_bar, free_frame_tool_bar): Call xg_height_changed. | ||
| 36 | Remove calls to xg_frame_set_char_size. | ||
| 37 | |||
| 1 | 2009-07-01 Kenichi Handa <handa@m17n.org> | 38 | 2009-07-01 Kenichi Handa <handa@m17n.org> |
| 2 | 39 | ||
| 3 | * keyboard.c (decode_keyboard_code): New function. | 40 | * keyboard.c (decode_keyboard_code): New function. |