terminal: share font settings across screens
authorDavid Herrmann <dh.herrmann@gmail.com>
Sat, 9 Mar 2013 12:19:05 +0000 (13:19 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sat, 9 Mar 2013 12:19:05 +0000 (13:19 +0100)
commit40f6811a072baedebad20fdd805ed091df899308
treeffd6532261537519a0342868fbc2035963aef587
parente874518153e509b74aa8e3e52b02642718eb5575
terminal: share font settings across screens

We currently retrieve one font object per screen (which is in fact shared
in the font-layer), but we can also move it one layer up to the terminal
layer. This shares the same font per terminal between all screens.

This simplifies on-the-fly font modifications and speeds up monitor
hotplugging.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/kmscon_terminal.c