Commit 791a767fb2295a74c3ea02346ce64b71ce877f13
1 parent
46e2902f
Exists in
master
and in
5 other branches
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
src/pw3270/v3270/mouse.c
@@ -222,7 +222,7 @@ gboolean v3270_button_release_event(GtkWidget *widget, GdkEventButton*event) | @@ -222,7 +222,7 @@ gboolean v3270_button_release_event(GtkWidget *widget, GdkEventButton*event) | ||
222 | static void update_mouse_pointer(GtkWidget *widget, int baddr) | 222 | static void update_mouse_pointer(GtkWidget *widget, int baddr) |
223 | { | 223 | { |
224 | v3270 * terminal = GTK_V3270(widget); | 224 | v3270 * terminal = GTK_V3270(widget); |
225 | - int id = terminal->pointer; | 225 | + int id = 0; |
226 | 226 | ||
227 | if(baddr >= 0 && terminal->pointer_id == LIB3270_CURSOR_EDITABLE) | 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,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 |