search for: gdk_x11_grab_serv

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

Did you mean: gdk_x11_grab_server
2010 Mar 01
2
[Bug 1725] New: use x11.pc when linking gnome-ssh-askpass2
...provide functions that they explicitly call. (Obviously inter-library linkage doesn't have to be specified by the application - that would be unreasonable.) Since gnome-ssh-askpass2 uses XUngrabServer (incidentally, why doesn't it use gdk_x11_ungrab_server to go with the existing call to gdk_x11_grab_server?), it should link against libX11 itself as well as relying on libgdk-x11's linkage. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
2012 Jan 13
0
[PATCH 1/1] Ported gnome-ssh-askpass2 to gtk3.
...tus = gdk_keyboard_grab(gtk_widget_get_window(GTK_WIDGET(dialog)), + FALSE, GDK_CURRENT_TIME); + if (status == GDK_GRAB_SUCCESS) + break; + usleep(GRAB_WAIT * 1000); + if (++grab_tries > GRAB_TRIES) { + failed = "keyboard"; + goto nograbkb; + } + } + if (grab_server) { + gdk_x11_grab_server(); + } + + result = gtk_dialog_run(GTK_DIALOG(dialog)); + + /* Ungrab */ + if (grab_server) + XUngrabServer(GDK_DISPLAY_XDISPLAY(gdk_display_get_default())); + if (grab_pointer) + gdk_pointer_ungrab(GDK_CURRENT_TIME); + gdk_keyboard_ungrab(GDK_CURRENT_TIME); + gdk_flush(); + + /* Report passphr...