Mercurial > emacs
annotate src/bitmaps/README @ 105693:964ff7cbc8a6
Fix resize due to font change on a maximized/xmonad-controlled frame.
* xterm.h (x_wait_for_event): Declare it.
* xterm.c (pending_event_wait): New variable.
(handle_one_xevent): Set pending_event_wait.eventtype to 0 if we
see pending_event_wait.eventtype.
(handle_one_xevent): Don't change gravity when parent changes.
(x_new_font): Call change_frame_size with new rows/columns before we try
to resize the frame.
(x_wait_for_event): New function.
(x_set_window_size_1): Don't change gravity unless change_gravity is set.
Call XResizeWindow with FRAME_OUTER_WINDOW. If we are visible,
don't change frame size, instead wait for the ConfigureNotify.
(x_set_window_size): Call x_set_window_size_1 for USE_X_TOOLKIT also.
(x_wm_set_size_hint): Remove ifdefs for USE_X_TOOLKIT.
(x_initialize): Initialize pending_event_wait.
* xmenu.c (set_frame_menubar): Add internal border width to menu bar
size.
* widget.c (EmacsFrameSetValues): Add comment.
(EmacsFrameSetCharSize): Just call x_set_window_size.
* gtkutil.c (xg_frame_set_char_size): Flush events and call
x_wait_for_event.
(flush_and_sync): Removed again.
(xg_get_font_name): Suggest monospace if no previous font is known.
| author | Jan Dj?rv <jan.h.d@swipnet.se> |
|---|---|
| date | Wed, 21 Oct 2009 18:29:46 +0000 |
| parents | c3512b2085a0 |
| children |
| rev | line source |
|---|---|
| 25830 | 1 This directory contains bitmap files that Emacs uses from |
| 97142 | 2 /usr/include/X11/bitmaps. |
| 25830 | 3 |
|
75659
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
4 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
5 COPYRIGHT AND LICENSE INFORMATION |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
6 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
7 These bitmaps are the same as those contained in X Version 11 Release |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
8 4 (released 1989). The correspondence between the Emacs filenames and |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
9 the original include/X11/bitmaps/ filenames is as follows: |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
10 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
11 Emacs: X11R4: |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
12 cntrpmsk.xbm cntr_ptrmsk |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
13 cntrptr.xbm cntr_ptr |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
14 crosswv.xbm cross_weave |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
15 dimple1.xbm dimple1 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
16 dimple3.xbm dimple3 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
17 gray.xbm gray |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
18 gray1.xbm gray1 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
19 gray3.xbm gray3 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
20 leftpmsk.xbm left_ptrmsk |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
21 leftptr.xbm left_ptr |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
22 rtpmsk.xbm right_ptrmsk |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
23 rtptr.xbm right_ptr |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
24 stipple.xbm stipple |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
25 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
26 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
27 The following copyright and license notice appeared in the parent |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
28 directory of the X11R4 bitmaps/ directory (in include/X11/copyright.h): |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
29 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
30 Copyright 1985, 1986, 1987, 1988, 1989 by the |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
31 Massachusetts Institute of Technology |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
32 |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
33 Permission to use, copy, modify, distribute, and sell this software and its |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
34 documentation for any purpose is hereby granted without fee, provided that |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
35 the above copyright notice appear in all copies and that both that |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
36 copyright notice and this permission notice appear in supporting |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
37 documentation, and that the name of M.I.T. not be used in advertising or |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
38 publicity pertaining to distribution of the software without specific, |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
39 written prior permission. M.I.T. makes no representations about the |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
40 suitability of this software for any purpose. It is provided "as is" |
|
318e25d470ae
Add copyright and license information.
Glenn Morris <rgm@gnu.org>
parents:
25830
diff
changeset
|
41 without express or implied warranty. |
