]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from origin/emacs-28
authorPo Lu <luangruo@yahoo.com>
Fri, 21 Jan 2022 07:27:35 +0000 (15:27 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 21 Jan 2022 07:27:35 +0000 (15:27 +0800)
11ea45c9e4 Fix UB in ebrowse
ba57b78064 Fix execute-extended-command-for-buffer in fundamental-mode
ef0c1d4c2c Add workaround to handle a problem with Enlightenment WM (...

1  2 
etc/PROBLEMS
lisp/simple.el
src/xterm.c

diff --cc etc/PROBLEMS
Simple merge
diff --cc lisp/simple.el
Simple merge
diff --cc src/xterm.c
index 1cbea12b3db824677d2bae243d3fb89a75b393f0,b80d45f85525345f91d5c13b7c609f45faf00156..244b11e0f750cea0e248eba3e6b9b012cdceb66c
@@@ -16253,23 -13792,20 +16265,39 @@@ consuming frame position adjustments.  
  always uses gtk_window_move and ignores the value of this variable.  */);
    x_gtk_use_window_move = true;
  
 +  DEFVAR_LISP ("x-scroll-event-delta-factor", Vx_scroll_event_delta_factor,
 +             doc: /* A scale to apply to pixel deltas reported in scroll events.
 +This option is only effective when Emacs is built with XInput 2
 +support. */);
 +  Vx_scroll_event_delta_factor = make_float (1.0);
+   DEFSYM (Qexpose, "expose");
  
 +  DEFVAR_BOOL ("x-gtk-use-native-input", x_gtk_use_native_input,
 +             doc: /* Non-nil means to use GTK for input method support.
 +This provides better support for some modern input methods, and is
 +only effective when Emacs is built with GTK.  */);
 +  x_gtk_use_native_input = false;
 +
+   DEFVAR_LISP ("x-set-frame-visibility-more-laxly",
+              x_set_frame_visibility_more_laxly,
+     doc: /* Non-nil means set frame visibility more laxly.
+ If this is nil, Emacs is more strict when marking a frame as visible.
+ Since this may cause problems on some window managers, this variable can
+ be also set as follows: The value `focus-in' means to mark a frame as
+ visible also when a FocusIn event is received for it on GTK builds.  The
+ value `expose' means to mark a frame as visible also when an Expose
+ event is received for it on any X build.  The value `t' means to mark a
+ frame as visible in either of these two cases.
+ Note that any non-nil setting may cause invisible frames get erroneously
+ reported as iconified.  */);
+   x_set_frame_visibility_more_laxly = Qnil;
++
 +  DEFVAR_BOOL ("x-input-grab-touch-events", x_input_grab_touch_events,
 +             doc: /* Non-nil means to actively grab touch events.
 +This means touch sequences that started on an Emacs frame will
 +reliably continue to receive updates even if the finger moves off the
 +frame, but may cause crashes with some window managers and/or external
 +programs.  */);
 +  x_input_grab_touch_events = true;
  }