diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-07-30 15:44:55 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-07-30 15:44:55 +0200 |
commit | 95b179dd0801ccb4b0068d1c2e2c04aa2264e912 (patch) | |
tree | 03ce8210c69ce6126662802e5bd09c0faaf04e35 /src/gui/gtk/gui-gtk-mouse.c | |
parent | ca3c1e2636476d56285f4aa70f98ae57d2aa0da5 (diff) | |
download | weechat-95b179dd0801ccb4b0068d1c2e2c04aa2264e912.zip |
core: add "/input grab_mouse" and "/input grab_mouse_area" (default: right click on input bar)
Diffstat (limited to 'src/gui/gtk/gui-gtk-mouse.c')
-rw-r--r-- | src/gui/gtk/gui-gtk-mouse.c | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/src/gui/gtk/gui-gtk-mouse.c b/src/gui/gtk/gui-gtk-mouse.c index 8d7533d8d..65c1bfe56 100644 --- a/src/gui/gtk/gui-gtk-mouse.c +++ b/src/gui/gtk/gui-gtk-mouse.c @@ -60,21 +60,33 @@ gui_mouse_display_state () } /* - * gui_mouse_grab_init: init "grab mouse" mode + * gui_mouse_grab_init: init "grab mode" */ void -gui_mouse_grab_init () +gui_mouse_grab_init (int area) +{ + (void) area; + + /* This function does nothing in Gtk GUI */ +} + +/* + * gui_mouse_event_init: init mouse event + */ + +void +gui_mouse_event_init () { /* This function does nothing in Gtk GUI */ } /* - * gui_mouse_grab_code2key: get key name with a mouse code + * gui_mouse_event_code2key: get key name with a mouse code */ const char * -gui_mouse_grab_code2key (const char *code) +gui_mouse_event_code2key (const char *code) { (void) code; @@ -84,11 +96,11 @@ gui_mouse_grab_code2key (const char *code) } /* - * gui_mouse_grab_end: end "grab mouse" mode + * gui_mouse_event_end: end mouse event */ void -gui_mouse_grab_end () +gui_mouse_event_end () { /* This function does nothing in Gtk GUI */ } |