Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 296304 Details for
Bug 251878
SCIM cannot leave message with gnome-screensaver
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch from Wu Peng.
fix-scim-launcher.patch (text/plain), 3.13 KB, created by
Hu Zheng
on 2008-02-29 05:05:06 UTC
(
hide
)
Description:
Patch from Wu Peng.
Filename:
MIME Type:
Creator:
Hu Zheng
Created:
2008-02-29 05:05:06 UTC
Size:
3.13 KB
patch
obsolete
>Index: gnome-screensaver-2.21.6/src/gs-window-x11.c >=================================================================== >--- gnome-screensaver-2.21.6.orig/src/gs-window-x11.c >+++ gnome-screensaver-2.21.6/src/gs-window-x11.c >@@ -1830,6 +1830,29 @@ maybe_handle_activity (GSWindow *window) > } > > static gboolean >+gs_window_real_key_release_event (GtkWidget *widget, >+ GdkEventKey *event) >+{ >+ /*g_message ("KEY PRESS state: %u keyval %u", event->state, event->keyval);*/ >+ >+ /* Ignore brightness keys */ >+ if (event->hardware_keycode == 101 || event->hardware_keycode == 212) { >+ gs_debug ("Ignoring brightness keys"); >+ return TRUE; >+ } >+ >+ maybe_handle_activity (GS_WINDOW (widget)); >+ >+ queue_key_event (GS_WINDOW (widget), event); >+ >+ if (GTK_WIDGET_CLASS (gs_window_parent_class)->key_release_event) { >+ GTK_WIDGET_CLASS (gs_window_parent_class)->key_release_event (widget, event); >+ } >+ >+ return TRUE; >+} >+ >+static gboolean > gs_window_real_key_press_event (GtkWidget *widget, > GdkEventKey *event) > { >@@ -2027,6 +2050,7 @@ gs_window_class_init (GSWindowClass *kla > widget_class->realize = gs_window_real_realize; > widget_class->unrealize = gs_window_real_unrealize; > widget_class->key_press_event = gs_window_real_key_press_event; >+ widget_class->key_release_event = gs_window_real_key_release_event; > widget_class->motion_notify_event = gs_window_real_motion_notify_event; > widget_class->button_press_event = gs_window_real_button_press_event; > widget_class->scroll_event = gs_window_real_scroll_event; >Index: gnome-screensaver-2.21.6/src/gs-lock-plug.c >=================================================================== >--- gnome-screensaver-2.21.6.orig/src/gs-lock-plug.c >+++ gnome-screensaver-2.21.6/src/gs-lock-plug.c >@@ -1007,6 +1007,28 @@ entry_button_press (GtkWidget *widg > } > > static gint >+entry_key_release (GtkWidget *widget, >+ GdkEventKey *event, >+ GSLockPlug *plug) >+{ >+ /* if the input widget is visible and ready for input >+ * then just carry on as usual >+ */ >+ if (GTK_WIDGET_VISIBLE (plug->priv->auth_prompt_entry) && >+ GTK_WIDGET_IS_SENSITIVE (plug->priv->auth_prompt_entry)) { >+ return FALSE; >+ } >+ >+ if (strcmp (event->string, "") == 0) { >+ return FALSE; >+ } >+ >+ queue_key_event (plug, event); >+ >+ return TRUE; >+} >+ >+static gint > entry_key_press (GtkWidget *widget, > GdkEventKey *event, > GSLockPlug *plug) >@@ -1684,6 +1706,8 @@ gs_lock_plug_init (GSLockPlug *plug) > > g_signal_connect (plug, "key_press_event", > G_CALLBACK (entry_key_press), plug); >+ g_signal_connect (plug, "key_release_event", >+ G_CALLBACK (entry_key_release), plug); > > /* button press handler used to inhibit popup menu */ > g_signal_connect (plug->priv->auth_prompt_entry, "button_press_event",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 251878
: 296304 |
296315
|
296317