Mercurial > emacs
annotate msdos/sedalloc.inp @ 103665:340c701162a6
* 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.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Wed, 01 Jul 2009 14:02:27 +0000 |
parents | dc97fcf1ed7e |
children | 1d1d5d9bd884 |
rev | line source |
---|---|
100556 | 1 # -sedalloc.inp----------------------------------------------------------- |
2 # Configuration script for SYSTEM_MALLOC/REL_ALLOC in src/config.h | |
3 # ---------------------------------------------------------------------- | |
4 # | |
100956 | 5 # Copyright (C) 2008, 2009 Free Software Foundation, Inc. |
100556 | 6 # |
7 # This file is part of GNU Emacs. | |
8 # | |
9 # This file is free software; as a special exception, the author gives | |
10 # unlimited permission to copy and/or distribute it, with or without | |
11 # modifications, as long as this notice is preserved. | |
12 # | |
13 # This program is distributed in the hope that it will be useful, | |
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
16 # | |
17 # ---------------------------------------------------------------------- | |
18 /^#define GNU_MALLOC *1 *$/s|^.*$|/* #undef GNU_MALLOC */| | |
19 /^#define REL_ALLOC.*$/a\ | |
20 \ | |
21 /* Inserted by the --with-system-malloc switch to config.bat. */\ | |
22 #define SYSTEM_MALLOC 1 | |
23 /^#define REL_ALLOC *1 *$/s|^.*$|/* #undef REL_ALLOC */| | |
24 | |
100621 | 25 # arch-tag: 20b3ad5d-fcd7-4751-aa34-e94e770ded87 |