diff options
| author | Paul Eggert | 2020-01-01 01:08:16 +0000 |
|---|---|---|
| committer | Paul Eggert | 2020-01-01 01:08:16 +0000 |
| commit | c6fb86b40bebf597fccbe4eba58ceea83bd9700f (patch) | |
| tree | ab703ac6f4e85e6df08c467bc48cb7ae670f5ba9 /src/xfns.c | |
| parent | 47f66e1aaf01d72e3b0db6eadbab378bfac96681 (diff) | |
| parent | 186152ba400b58d2d278c52d2e3d896decae767e (diff) | |
| download | emacs-c6fb86b40bebf597fccbe4eba58ceea83bd9700f.tar.gz emacs-c6fb86b40bebf597fccbe4eba58ceea83bd9700f.zip | |
Merge from origin/emacs-27
186152ba40 Pacify gcc -Wunused-function on Ubuntu 18.04.3
4cd143aded Fix copyright years by hand
365e01cc9f Update copyright year to 2020
cd2c156163 ; * etc/NEWS: Make the description of XDG fallback more ac...
# Conflicts:
# etc/NEWS
# etc/refcards/ru-refcard.tex
Diffstat (limited to 'src/xfns.c')
| -rw-r--r-- | src/xfns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xfns.c b/src/xfns.c index 0ce1e73397f..b94666d5548 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Functions for the X Window System. | 1 | /* Functions for the X Window System. |
| 2 | 2 | ||
| 3 | Copyright (C) 1989, 1992-2019 Free Software Foundation, Inc. | 3 | Copyright (C) 1989, 1992-2020 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -4572,6 +4572,8 @@ On MS Windows, this just returns nil. */) | |||
| 4572 | return Qnil; | 4572 | return Qnil; |
| 4573 | } | 4573 | } |
| 4574 | 4574 | ||
| 4575 | #ifndef USE_GTK | ||
| 4576 | |||
| 4575 | /* Store the geometry of the workarea on display DPYINFO into *RECT. | 4577 | /* Store the geometry of the workarea on display DPYINFO into *RECT. |
| 4576 | Return false if and only if the workarea information cannot be | 4578 | Return false if and only if the workarea information cannot be |
| 4577 | obtained via the _NET_WORKAREA root window property. */ | 4579 | obtained via the _NET_WORKAREA root window property. */ |
| @@ -4634,8 +4636,6 @@ x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect) | |||
| 4634 | return result; | 4636 | return result; |
| 4635 | } | 4637 | } |
| 4636 | 4638 | ||
| 4637 | #ifndef USE_GTK | ||
| 4638 | |||
| 4639 | /* Return monitor number where F is "most" or closest to. */ | 4639 | /* Return monitor number where F is "most" or closest to. */ |
| 4640 | static int | 4640 | static int |
| 4641 | x_get_monitor_for_frame (struct frame *f, | 4641 | x_get_monitor_for_frame (struct frame *f, |