changeset 7172:f9eeb75c2b76

(x_window) [USE_X_TOOLKIT]: Call XSetWMHints.
author Richard M. Stallman <rms@gnu.org>
date Thu, 28 Apr 1994 18:13:22 +0000
parents 945fd4c43a14
children b6a358a4bdfb
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Thu Apr 28 08:23:25 1994 +0000
+++ b/src/xfns.c	Thu Apr 28 18:13:22 1994 +0000
@@ -1871,6 +1871,10 @@
   class_hints.res_class = EMACS_CLASS;
   XSetClassHint (x_current_display, XtWindow (shell_widget), &class_hints);
 
+  f->display.x->wm_hints.input = True;
+  f->display.x->wm_hints.flags |= InputHint;
+  XSetWMHints (x_current_display, FRAME_X_WINDOW (f), &f->display.x->wm_hints);
+
   hack_wm_protocols (shell_widget);
 
   /* Do a stupid property change to force the server to generate a