summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-28 18:13:22 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-28 18:13:22 +0000
commitb8228bebad005ddb1887d41c2fab9700026e1720 (patch)
tree28c1b21f80c6607a8fe896a2d4df4469e83756d2 /src/xfns.c
parent1ad698afdedf160e92ea135c50824922f7b3a8dd (diff)
downloademacs-b8228bebad005ddb1887d41c2fab9700026e1720.tar.gz
(x_window) [USE_X_TOOLKIT]: Call XSetWMHints.
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index cb6255bdd29..a56a302a2b5 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1871,6 +1871,10 @@ x_window (f, window_prompting, minibuffer_only)
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