search for: gdk_grab_success

Displaying 2 results from an estimated 2 matches for "gdk_grab_success".

2012 Jan 13
0
[PATCH 1/1] Ported gnome-ssh-askpass2 to gtk3.
...dialog); + + gtk_window_set_keep_above(GTK_WINDOW(dialog), TRUE); + + /* Grab focus */ + gtk_widget_show_now(dialog); + if (grab_pointer) { + for(;;) { + status = gdk_pointer_grab( + gtk_widget_get_window(GTK_WIDGET(dialog)), TRUE, 0, NULL, + NULL, GDK_CURRENT_TIME); + if (status == GDK_GRAB_SUCCESS) + break; + usleep(GRAB_WAIT * 1000); + if (++grab_tries > GRAB_TRIES) { + failed = "mouse"; + goto nograb; + } + } + } + for(;;) { + status = gdk_keyboard_grab(gtk_widget_get_window(GTK_WIDGET(dialog)), + FALSE, GDK_CURRENT_TIME); + if (status == GDK_GRAB_SUCCESS...
2003 Oct 29
2
OpenSSH and Redhat 8
John, The following steps should work for you (or anyone buildling on a RedHat box): 1) Get the official OpenSSH source RPM from ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/rpm/SRPMS/openssh-3.7.1p2-1.src.rpm 2) Do 'rpmbuild --rebuild ./openssh-3.7.1p2-1.src.rpm' from where you saved the file. 3) This should create the following files in /usr/src/redhat/RPMS/i386: