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 303970 Details for
Bug 346201
AudioStop button sends "Eject" signal on ThinkPad X61 in Gnome
[?]
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]
gsd-handle-keysyms.patch
gsd-handle-keysyms.patch (text/plain), 1019 bytes, created by
Bastien Nocera
on 2008-04-28 13:23:05 UTC
(
hide
)
Description:
gsd-handle-keysyms.patch
Filename:
MIME Type:
Creator:
Bastien Nocera
Created:
2008-04-28 13:23:05 UTC
Size:
1019 bytes
patch
obsolete
>Index: plugins/common/gsd-keygrab.c >=================================================================== >--- plugins/common/gsd-keygrab.c (revision 321) >+++ plugins/common/gsd-keygrab.c (working copy) >@@ -122,6 +122,26 @@ > gboolean > match_key (Key *key, XEvent *event) > { >+ GdkKeymap *keymap; >+ guint keyval; >+ GdkModifierType consumed; >+ >+ if (key == NULL) >+ return FALSE; >+ >+ keymap = gdk_keymap_get_default (); >+ /* Check if we find a keysym that matches our current state */ >+ if (gdk_keymap_translate_keyboard_state (keymap, event->xkey.keycode, >+ event->xkey.state, 0, //FIXME >+ &keyval, NULL, NULL, &consumed)) { >+ if (keyval == key->keysym >+ && (key->state & ~consumed & GSD_USED_MODS) == key->state) { >+ return TRUE; >+ } >+ return FALSE; >+ } >+ >+ /* The key we passed doesn't have a keysym, so try with just the keycode */ > return (key != NULL > && key->keycode == event->xkey.keycode > && key->state == (event->xkey.state & GSD_USED_MODS));
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 346201
:
264301
|
303970