mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 08:31:35 -08:00
(w_wn_set_size_hint): Make recent window gravity addition
depend on "PWinGravity" begin `#defined'.
This commit is contained in:
parent
3cbbb729f9
commit
2554751d80
1 changed files with 2 additions and 1 deletions
|
|
@ -4736,7 +4736,7 @@ x_wm_set_size_hint (f, prompting, spec_x, spec_y)
|
|||
if (hints.flags & USSize)
|
||||
size_hints.flags |= USSize;
|
||||
}
|
||||
|
||||
#if defined (PWinGravity)
|
||||
switch (((spec_x < 0) << 1) + (spec_y < 0))
|
||||
{
|
||||
case 0:
|
||||
|
|
@ -4753,6 +4753,7 @@ x_wm_set_size_hint (f, prompting, spec_x, spec_y)
|
|||
break;
|
||||
}
|
||||
size_hints.flags |= PWinGravity;
|
||||
#endif /* PWinGravity */
|
||||
|
||||
#ifdef HAVE_X11R4
|
||||
XSetWMNormalHints (x_current_display, window, &size_hints);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue