Mercurial > hg > xemacs-beta
diff src/console-x.c @ 3381:374186f156d5
[xemacs-hg @ 2006-05-06 17:55:58 by stephent]
metacity maximization fix, see src/ChangeLog.
<87ejz7t57b.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Sat, 06 May 2006 17:56:00 +0000 |
parents | 77f5a5135b3a |
children | 19a72041c5ed |
line wrap: on
line diff
--- a/src/console-x.c Sat May 06 08:46:38 2006 +0000 +++ b/src/console-x.c Sat May 06 17:56:00 2006 +0000 @@ -41,6 +41,8 @@ DEFINE_CONSOLE_TYPE (x); +int wedge_metacity; /* nonzero means update WM_HINTS always */ + extern void x_has_keysym (KeySym, Lisp_Object, int); static int @@ -401,6 +403,22 @@ void +vars_of_console_x (void) +{ + DEFVAR_BOOL ("wedge-metacity", &wedge_metacity /* +When non-nil, frame geometry management is backward-compatible. +This is known to create inflooping window jitter in metacity, et al. +It also does not conform to Xt conventions for geometry management. +Specifically, all frame resizes, XEmacs-initiated or not, update WM_HINTS. +Furthermore, geometry changes occur in the widget resize method. + +The default is nil. This probably gives correct behavior regardless of the +window manager used. +This variable is deprecated and will be removed. +*/ ); +} + +void reinit_console_type_create_x (void) { REINITIALIZE_CONSOLE_TYPE (x);