Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset a116f7f2 in mainline


Ignore:
Timestamp:
2014-09-07T15:32:12Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
7947c34
Parents:
fff4f21
Message:

Hide cursor when terminal window is not focused.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/terminal.c

    rfff4f21 ra116f7f2  
    254254       
    255255        bool front_visibility =
    256             chargrid_get_cursor_visibility(term->frontbuf);
     256            chargrid_get_cursor_visibility(term->frontbuf) &&
     257            term->widget.window->is_focused;
    257258        bool back_visibility =
    258259            chargrid_get_cursor_visibility(term->backbuf);
Note: See TracChangeset for help on using the changeset viewer.