[vte/wip/sixels: 94/111] terminal: Remove old attempt at supporting DECSDM for sixels




commit c6557ef7584d73f1f626a35863d3bb196da2e005
Author: Hans Petter Jansson <hpj cl no>
Date:   Sat Aug 8 20:42:49 2020 +0200

    terminal: Remove old attempt at supporting DECSDM for sixels
    
    This conflicts with WY161.

 src/vte.cc         | 2 --
 src/vteinternal.hh | 1 -
 src/vteseq.cc      | 6 ------
 3 files changed, 9 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index b2c680b8..c73a81bc 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -9952,8 +9952,6 @@ Terminal::reset(bool clear_tabstops,
        m_mouse_smooth_scroll_delta = 0.;
        /* Clear modifiers. */
        m_modifiers = 0;
-       /* Reset SIXEL display mode */
-       m_sixel_display_mode = FALSE;
        /* Reset SIXEL-scrolls-right mode */
        m_sixel_scrolls_right = FALSE;
        /* Reset privae color register mode */
diff --git a/src/vteinternal.hh b/src/vteinternal.hh
index 1b205e67..43a5ccdf 100644
--- a/src/vteinternal.hh
+++ b/src/vteinternal.hh
@@ -756,7 +756,6 @@ public:
         /* Inline images */
         gboolean m_images_enabled;
 
-        gboolean m_sixel_display_mode;
         gboolean m_sixel_scrolls_right;
         gboolean m_sixel_use_private_register;
         sixel_state_t m_sixel_state;
diff --git a/src/vteseq.cc b/src/vteseq.cc
index 8552d0a8..b217cbc1 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -4390,9 +4390,6 @@ Terminal::DECSIXEL(vte::parser::Sequence const& seq)
        }
        sixel_parser_deinit(&m_sixel_state);
 
-       if (m_sixel_display_mode)
-               home_cursor();
-
        /* Calculate geometry */
 
        left = m_screen->cursor.col;
@@ -4438,9 +4435,6 @@ Terminal::DECSIXEL(vte::parser::Sequence const& seq)
                        cursor_down(true);
                }
        }
-
-       if (m_sixel_display_mode)
-               home_cursor();
 }
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]