From 8419e997893069e431572bdf51ece7e8356dc8e5 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 2 Dec 2007 18:23:10 +0000 Subject: The tty code already stores attributes and doesn't modify them if unaltered, so the screen drawing code doesn't need to do so too. This probably also fixes bugs when switching screens where the actual tty attributes may not have been what the draw code (erroneously) expected. --- tmux.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 031615d0..488a7d59 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.107 2007-11-30 11:08:35 nicm Exp $ */ +/* $Id: tmux.h,v 1.108 2007-12-02 18:23:10 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -406,9 +406,6 @@ struct screen_draw_ctx { u_int ox; u_int oy; - u_char attr; - u_char colr; - struct screen_draw_sel sel; }; -- cgit