Merge lp:~jamessan/pangoterm/report-focus into lp:pangoterm

Proposed by James McCoy
Status: Merged
Merged at revision: 598
Proposed branch: lp:~jamessan/pangoterm/report-focus
Merge into: lp:pangoterm
Diff against target: 22 lines (+6/-0)
1 file modified
pangoterm.c (+6/-0)
To merge this branch: bzr merge lp:~jamessan/pangoterm/report-focus
Reviewer Review Type Date Requested Status
Paul "LeoNerd" Evans Approve
Review via email: mp+331827@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Paul "LeoNerd" Evans (leonerd) wrote :

LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'pangoterm.c'
--- pangoterm.c 2017-08-17 18:37:30 +0000
+++ pangoterm.c 2017-10-05 00:44:58 +0000
@@ -1761,6 +1761,9 @@
1761 PangoTerm *pt = user_data;1761 PangoTerm *pt = user_data;
1762 pt->has_focus = 1;1762 pt->has_focus = 1;
17631763
1764 VTermState *state = vterm_obtain_state(pt->vt);
1765 vterm_state_focus_in(state);
1766
1764 if(CURSOR_ENABLED(pt)) {1767 if(CURSOR_ENABLED(pt)) {
1765 repaint_cell(pt, pt->cursorpos);1768 repaint_cell(pt, pt->cursorpos);
17661769
@@ -1774,6 +1777,9 @@
1774 PangoTerm *pt = user_data;1777 PangoTerm *pt = user_data;
1775 pt->has_focus = 0;1778 pt->has_focus = 0;
17761779
1780 VTermState *state = vterm_obtain_state(pt->vt);
1781 vterm_state_focus_out(state);
1782
1777 if(CURSOR_ENABLED(pt)) {1783 if(CURSOR_ENABLED(pt)) {
1778 repaint_cell(pt, pt->cursorpos);1784 repaint_cell(pt, pt->cursorpos);
17791785

Subscribers

People subscribed via source and target branches

to status/vote changes: