annotate msdos/sed3.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7203
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
1 # -sed3.inp-------------------------------------------------------------
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
2 # Configuration script for lib-src/makefile
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
3 # ----------------------------------------------------------------------
36461
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
4 #
75249
4ad431d8e164 Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 68648
diff changeset
5 # Copyright (C) 1993, 1994, 1995, 2001, 2002, 2003, 2004,
100956
dc97fcf1ed7e Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 79742
diff changeset
6 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
36461
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
7 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
8 # This file is part of GNU Emacs.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
9 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
10 # This file is free software; as a special exception, the author gives
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
11 # unlimited permission to copy and/or distribute it, with or without
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
12 # modifications, as long as this notice is preserved.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
13 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
14 # This program is distributed in the hope that it will be useful,
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
17 #
a4fb0c9be609 Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents: 13615
diff changeset
18 # ----------------------------------------------------------------------
7203
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
19 /^# DIST: /d
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
20 /^SHELL *=/s/^/# /
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
21 /^CC *=/s/=.*$/=gcc/
7407
565b1e27c14c Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents: 7231
diff changeset
22 # Actually, here we should patch in the exact version number, but only
565b1e27c14c Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents: 7231
diff changeset
23 # [ce]tags uses it. Don't pass it. This is more update-resistant.
565b1e27c14c Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents: 7231
diff changeset
24 /-DVERSION=/s/-DVERSION="\\"\${version}\\""//
7203
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
25 /^configname *=/s/=.*$/=msdos/
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
26 /^archlibdir *=/s!=.*$!=/emacs/bin!
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
27 /^bindir *=/s!=.*$!=/emacs/bin!
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
28 /^libdir *=/s!=.*$!=/emacs/bin!
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
29 /^srcdir *=/s!=.*$!=.!
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
30 /^VPATH *=/s!=.*$!=.!
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
31 /^CFLAGS *=/s!=.*$!=-O2 -g!
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
32 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS!
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
33 /^LOADLIBES *=/s!=.*$!=!
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
34 /^ALLOCA *=/s!=.*$!=alloca.o!
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
35 /^INSTALLABLES/s/emacsclient *//
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
36 s!^ \./! go32 ./!
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
37 /^UTILITIES=/s/ wakeup//
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
38 /^UTILITIES=/s/ movemail//
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
39 /^UTILITIES=/s/ emacsserver//
20f7520cf723 Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents: 5490
diff changeset
40 /^UTILITIES=/s/ timer//
10507
de02c5579c5e Delete mysterious dot. Add comment to protect blank
Richard M. Stallman <rms@gnu.org>
parents: 10385
diff changeset
41 /^all *:/s/$/ make-docfile/
13615
3276c8c1843c Alter test-distrib to test-dis.
Richard M. Stallman <rms@gnu.org>
parents: 10509
diff changeset
42 s!^ go32 ./test-distrib! go32 ./test-dis!
10385
7826b6c2b6e8 Use coff2exe on make-docfile, instead of go32 when running it.
Karl Heuer <kwzh@gnu.org>
parents: 7407
diff changeset
43 /-o make-docfile/a\
10509
49f3296db01d Fix sed append command to behave as intended.
Karl Heuer <kwzh@gnu.org>
parents: 10507
diff changeset
44 coff2exe make-docfile
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 36461
diff changeset
45
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 36461
diff changeset
46 # arch-tag: cac6f5c7-3dbf-4e84-9d0c-44f0126f0ea8