projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36cf079
)
Always return the GDK scale
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 16 Jul 2017 14:54:51 +0000
(16:54 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 17 Jul 2017 14:58:57 +0000
(16:58 +0200)
* src/gtkutil.c (xg_get_scale): Return the GDK scale always.
src/gtkutil.c
patch
|
blob
|
history
diff --git
a/src/gtkutil.c
b/src/gtkutil.c
index ccc42773217b7adccc90d1a0d1f3b1cd5646532d..6c9e069001ea87f6b30cca268d4746deef1e41dd 100644
(file)
--- a/
src/gtkutil.c
+++ b/
src/gtkutil.c
@@
-208,7
+208,7
@@
xg_display_open (char *display_name, Display **dpy)
int
xg_get_scale (struct frame *f)
{
- if (FRAME_
VISIBLE_P (f) && FRAME_
GTK_WIDGET (f))
+ if (FRAME_GTK_WIDGET (f))
return gtk_widget_get_scale_factor (FRAME_GTK_WIDGET (f));
return 1;
}