diff options
| author | Gerd Moellmann | 2000-06-22 20:12:59 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-06-22 20:12:59 +0000 |
| commit | 486a103debe2cc46a290143e2537bc3881a384aa (patch) | |
| tree | fd9fe97d7f1999e35f4290961888bbce241c905e /src/widget.c | |
| parent | 64f3a16632337bbfb91531cdd6d1fe137fb59f5c (diff) | |
| download | emacs-486a103debe2cc46a290143e2537bc3881a384aa.tar.gz emacs-486a103debe2cc46a290143e2537bc3881a384aa.zip | |
(EmacsFrameRealize): Remove SubstructureRedirectMask.
Diffstat (limited to 'src/widget.c')
| -rw-r--r-- | src/widget.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/widget.c b/src/widget.c index 70a84aad2e1..a96aad7f8eb 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -731,8 +731,12 @@ EmacsFrameRealize (widget, mask, attrs) | |||
| 731 | { | 731 | { |
| 732 | EmacsFrame ew = (EmacsFrame)widget; | 732 | EmacsFrame ew = (EmacsFrame)widget; |
| 733 | 733 | ||
| 734 | attrs->event_mask = (STANDARD_EVENT_SET | PropertyChangeMask | 734 | /* This used to contain SubstructureRedirectMask, but this turns out |
| 735 | | SubstructureNotifyMask | SubstructureRedirectMask); | 735 | to be a problem with XIM on Solaris, and events from that mask |
| 736 | don't seem to be used. Let's check that. */); | ||
| 737 | attrs->event_mask = (STANDARD_EVENT_SET | ||
| 738 | | PropertyChangeMask | ||
| 739 | | SubstructureNotifyMask); | ||
| 736 | *mask |= CWEventMask; | 740 | *mask |= CWEventMask; |
| 737 | XtCreateWindow (widget, InputOutput, (Visual *)CopyFromParent, *mask, | 741 | XtCreateWindow (widget, InputOutput, (Visual *)CopyFromParent, *mask, |
| 738 | attrs); | 742 | attrs); |