Displaying 3 results from an estimated 3 matches for "gdk_current_time".
Did you mean:
ads_current_time
2000 May 31
0
gnome-ssh-askpass patch
...ssh-askpass.c.original Wed Mar 15 10:13:03 2000
+++ contrib/gnome-ssh-askpass.c Mon May 29 00:46:59 2000
@@ -79,7 +79,7 @@
gtk_widget_show_all(dialog);
/* Grab focus */
- XGrabServer(GDK_DISPLAY());
+ /* XGrabServer(GDK_DISPLAY()); */
gdk_pointer_grab(dialog->window, TRUE, 0, NULL, NULL, GDK_CURRENT_TIME);
gdk_keyboard_grab(dialog->window, FALSE, GDK_CURRENT_TIME);
@@ -90,7 +90,7 @@
result = gnome_dialog_run(GNOME_DIALOG(dialog));
/* Ungrab */
- XUngrabServer(GDK_DISPLAY());
+ /* XUngrabServer(GDK_DISPLAY()); */
gdk_pointer_ungrab(GDK_CURRENT_TIME);
gdk_keyboard_ungrab(GDK_CURREN...
2012 Jan 13
0
[PATCH 1/1] Ported gnome-ssh-askpass2 to gtk3.
...te",
+ G_CALLBACK(ok_dialog), 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_TIM...
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: