comparison 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
comparison
equal deleted inserted replaced
3380:72f5451ab2f0 3381:374186f156d5
38 38
39 #include "device-impl.h" 39 #include "device-impl.h"
40 #include "console-x-impl.h" 40 #include "console-x-impl.h"
41 41
42 DEFINE_CONSOLE_TYPE (x); 42 DEFINE_CONSOLE_TYPE (x);
43
44 int wedge_metacity; /* nonzero means update WM_HINTS always */
43 45
44 extern void x_has_keysym (KeySym, Lisp_Object, int); 46 extern void x_has_keysym (KeySym, Lisp_Object, int);
45 47
46 static int 48 static int
47 x_initially_selected_for_input (struct console *UNUSED (con)) 49 x_initially_selected_for_input (struct console *UNUSED (con))
399 CONSOLE_HAS_METHOD (x, perhaps_init_unseen_key_defaults); 401 CONSOLE_HAS_METHOD (x, perhaps_init_unseen_key_defaults);
400 } 402 }
401 403
402 404
403 void 405 void
406 vars_of_console_x (void)
407 {
408 DEFVAR_BOOL ("wedge-metacity", &wedge_metacity /*
409 When non-nil, frame geometry management is backward-compatible.
410 This is known to create inflooping window jitter in metacity, et al.
411 It also does not conform to Xt conventions for geometry management.
412 Specifically, all frame resizes, XEmacs-initiated or not, update WM_HINTS.
413 Furthermore, geometry changes occur in the widget resize method.
414
415 The default is nil. This probably gives correct behavior regardless of the
416 window manager used.
417 This variable is deprecated and will be removed.
418 */ );
419 }
420
421 void
404 reinit_console_type_create_x (void) 422 reinit_console_type_create_x (void)
405 { 423 {
406 REINITIALIZE_CONSOLE_TYPE (x); 424 REINITIALIZE_CONSOLE_TYPE (x);
407 } 425 }