Commit 313f40afefb9a92fc279b2b800749c56c1f7409d

Authored by perry.werneck@gmail.com
1 parent c518bf98
Exists in master and in 1 other branch develop

Tiago Leite - Bug PW3270 V5.0 Linux Rev 2949 - 22/04/14 11:14 PM

Ola pessoal,

 Estou tendo o seguinte bug toda vez que seleciono algo e aperto alguma
tecla como F8 ou F9 o terminal fecha do nada. E tambem estou tendo
alguns problemas do mesmo desconectar tanto usando vpn como na intranet
da empresa. Quem tiver alguma dica eu agradeceria.
Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
mouse.c
... ... @@ -222,7 +222,7 @@ gboolean v3270_button_release_event(GtkWidget *widget, GdkEventButton*event)
222 222 static void update_mouse_pointer(GtkWidget *widget, int baddr)
223 223 {
224 224 v3270 * terminal = GTK_V3270(widget);
225   - int id = terminal->pointer;
  225 + int id = 0;
226 226  
227 227 if(baddr >= 0 && terminal->pointer_id == LIB3270_CURSOR_EDITABLE)
228 228 {
... ... @@ -270,9 +270,10 @@ static void update_mouse_pointer(GtkWidget *widget, int baddr)
270 270  
271 271 }
272 272  
  273 + gdk_window_set_cursor(gtk_widget_get_window(widget),v3270_cursor[id]);
  274 +
273 275 }
274 276  
275   - gdk_window_set_cursor(gtk_widget_get_window(widget),v3270_cursor[id]);
276 277  
277 278 }
278 279  
... ...