All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Invert margin colors when terminal is inverted
@ 2017-07-31 19:09 ` David Lechner
  0 siblings, 0 replies; 12+ messages in thread
From: David Lechner @ 2017-07-31 19:09 UTC (permalink / raw)
  To: linux-fbdev; +Cc: David Lechner, Bartlomiej Zolnierkiewicz, linux-kernel

This is v2 of "fbcon: Use background color for margins​"[1].

It turns out that using the text background color was not a good choice. So,
I've started over.

In this series, the margin color depends on the terminal's inversion state. If
it is not inverted, then the margins are black as they currently are. But now,
if the terminal is inverted, the margin color is also inverted, so it is white.

In order to detect when the terminal is inverted, I had to add a notifier
callback for the VT_UPDATE event. Otherwise, running `setterm -inverse on`
would not change the margins until I also ran `clear`.

[1]: https://patchwork.kernel.org/patch/9869421/

David Lechner (2):
  fbcon: Invert margin colors when terminal is inverted
  fbcon: add VT notifier for VT_UPDATE event

 drivers/video/console/bitblit.c   |  2 +-
 drivers/video/console/fbcon.c     | 28 ++++++++++++++++++++++++++++
 drivers/video/console/fbcon_ccw.c |  2 +-
 drivers/video/console/fbcon_cw.c  |  2 +-
 drivers/video/console/fbcon_ud.c  |  2 +-
 5 files changed, 32 insertions(+), 4 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-08-02  2:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-31 19:09 [PATCH v2 0/2] Invert margin colors when terminal is inverted David Lechner
2017-07-31 19:09 ` David Lechner
2017-07-31 19:09 ` [PATCH v2 1/2] fbcon: " David Lechner
2017-07-31 19:09   ` David Lechner
2017-07-31 19:09 ` [PATCH v2 2/2] fbcon: add VT notifier for VT_UPDATE event David Lechner
2017-07-31 19:09   ` David Lechner
2017-08-02  2:30   ` [lkp-robot] [fbcon] 903a69cad7: BUG:unable_to_handle_kernel kernel test robot
2017-08-02  2:30     ` kernel test robot
2017-07-31 19:30 ` [PATCH v2 0/2] Invert margin colors when terminal is inverted Alan Cox
2017-07-31 19:30   ` Alan Cox
2017-07-31 20:43   ` David Lechner
2017-07-31 20:43     ` David Lechner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.