A problem about Metacity
- From: "g.x.w" <szg309 sina com>
- To: desktop-devel-list <desktop-devel-list gnome org>
- Subject: A problem about Metacity
- Date: Tue, 9 Mar 2004 15:21:22 +0800
Hi,
I have read metacity source codes,I want to know Metacity how to bind Alt+F1 to popup start menu and Alt+F2 to run run-dialog.
The process: main.c[ main() ] -> display.c[ meta_display_open() ] -> display.c[ event_callback() ] -> keybindings.c[ meta_display_process_key_event() ] ->keybindings.c[ handle_panel_keybinding() ].
but I still can't understant that Metacity catchs Alt+F1 or Alt+F2,then send a X event to destination window,but how to associate with start menu or run-dialog like pressing button.
Any help or suggestions would be appreciated.
Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]