Just some comment correction.
This commit is contained in:
parent
7001df98d1
commit
058f7f45e2
6
surf.c
6
surf.c
|
@ -804,9 +804,11 @@ newclient(void) {
|
||||||
g_object_set(G_OBJECT(settings), "default-font-size",
|
g_object_set(G_OBJECT(settings), "default-font-size",
|
||||||
defaultfontsize, NULL);
|
defaultfontsize, NULL);
|
||||||
|
|
||||||
/* While stupid, CSS specifies that a pixel represents 1/96 of an inch.
|
/*
|
||||||
|
* While stupid, CSS specifies that a pixel represents 1/96 of an inch.
|
||||||
* This ensures websites are not unusably small with a high DPI screen.
|
* This ensures websites are not unusably small with a high DPI screen.
|
||||||
* It is equivalent to firefox's "layout.css.devPixelsPerPx" setting. */
|
* It is equivalent to firefox's "layout.css.devPixelsPerPx" setting.
|
||||||
|
*/
|
||||||
if(zoomto96dpi) {
|
if(zoomto96dpi) {
|
||||||
screen = gdk_window_get_screen(GTK_WIDGET(c->win)->window);
|
screen = gdk_window_get_screen(GTK_WIDGET(c->win)->window);
|
||||||
dpi = gdk_screen_get_resolution(screen);
|
dpi = gdk_screen_get_resolution(screen);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user