/[hurd]/hurd/libcons/file-changed.c
ViewVC logotype

Diff of /hurd/libcons/file-changed.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by marcus, Sat Aug 2 21:43:46 2003 UTC revision 1.11 by marco_g, Thu Jan 6 21:53:26 2005 UTC
# Line 1  Line 1 
1  /* file-changed.c - Handling file changed notifications.  /* file-changed.c - Handling file changed notifications.
2     Copyright (C) 2002, 2003 Free Software Foundation, Inc.     Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
3     Written by Marcus Brinkmann.     Written by Marcus Brinkmann.
4    
5     This file is part of the GNU Hurd.     This file is part of the GNU Hurd.
# Line 93  cons_S_file_changed (cons_notify_t notif Line 93  cons_S_file_changed (cons_notify_t notif
93                      /* The cursor was visible before.  */                      /* The cursor was visible before.  */
94                      cons_vcons_set_cursor_status (vcons, CONS_CURSOR_INVISIBLE);                      cons_vcons_set_cursor_status (vcons, CONS_CURSOR_INVISIBLE);
95    
96                      _cons_vcons_console_event (vcons, CONS_EVT_OUTPUT);
97                    cons_vcons_update (vcons);                    cons_vcons_update (vcons);
98                  }                  }
99                if (change.what.cursor_status)                if (change.what.cursor_status)
# Line 185  cons_S_file_changed (cons_notify_t notif Line 186  cons_S_file_changed (cons_notify_t notif
186                                                end - size + 1,                                                end - size + 1,
187                                                0, (size - vis_start)                                                0, (size - vis_start)
188                                                / vcons->state.screen.width);                                                / vcons->state.screen.width);
189                              _cons_vcons_console_event (vcons, CONS_EVT_OUTPUT);
190                            cons_vcons_update (vcons);                            cons_vcons_update (vcons);
191                          }                          }
192                        vcons->state.screen.cur_line = new_cur_line;                        vcons->state.screen.cur_line = new_cur_line;
# Line 342  cons_S_file_changed (cons_notify_t notif Line 344  cons_S_file_changed (cons_notify_t notif
344                                            (size - rotate)                                            (size - rotate)
345                                            / vcons->state.screen.width);                                            / vcons->state.screen.width);
346                      }                      }
347                      _cons_vcons_console_event (vcons, CONS_EVT_OUTPUT);
348                    cons_vcons_update (vcons);                    cons_vcons_update (vcons);
349                  }                  }
350              }              }

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26