diff options
| author | Brian Fox | 1993-09-22 18:16:37 +0000 |
|---|---|---|
| committer | Brian Fox | 1993-09-22 18:16:37 +0000 |
| commit | 2554751d80f1817ad97364cd99a6c19d92a895c3 (patch) | |
| tree | 8e5d14226d84d73188e3778802009e5a33b465f6 /src | |
| parent | 3cbbb729f95a6d2412e3f5e2aa5ba26e00b0ac00 (diff) | |
| download | emacs-2554751d80f1817ad97364cd99a6c19d92a895c3.tar.gz emacs-2554751d80f1817ad97364cd99a6c19d92a895c3.zip | |
(w_wn_set_size_hint): Make recent window gravity addition
depend on "PWinGravity" begin `#defined'.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 2cea43a0936..2fa3139c558 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -4736,7 +4736,7 @@ x_wm_set_size_hint (f, prompting, spec_x, spec_y) | |||
| 4736 | if (hints.flags & USSize) | 4736 | if (hints.flags & USSize) |
| 4737 | size_hints.flags |= USSize; | 4737 | size_hints.flags |= USSize; |
| 4738 | } | 4738 | } |
| 4739 | 4739 | #if defined (PWinGravity) | |
| 4740 | switch (((spec_x < 0) << 1) + (spec_y < 0)) | 4740 | switch (((spec_x < 0) << 1) + (spec_y < 0)) |
| 4741 | { | 4741 | { |
| 4742 | case 0: | 4742 | case 0: |
| @@ -4753,6 +4753,7 @@ x_wm_set_size_hint (f, prompting, spec_x, spec_y) | |||
| 4753 | break; | 4753 | break; |
| 4754 | } | 4754 | } |
| 4755 | size_hints.flags |= PWinGravity; | 4755 | size_hints.flags |= PWinGravity; |
| 4756 | #endif /* PWinGravity */ | ||
| 4756 | 4757 | ||
| 4757 | #ifdef HAVE_X11R4 | 4758 | #ifdef HAVE_X11R4 |
| 4758 | XSetWMNormalHints (x_current_display, window, &size_hints); | 4759 | XSetWMNormalHints (x_current_display, window, &size_hints); |