Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 350338 Details for
Bug 472578
=net-irc/hexchat-2.9.5: Left-clicking in the text box on any text brings up the context menu
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hexchat-2.9.5-fix_leftclick_opens_menu.patch
hexchat-2.9.5-fix_leftclick_opens_menu.patch (text/plain), 1.45 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2013-06-07 13:10:29 UTC
(
hide
)
Description:
hexchat-2.9.5-fix_leftclick_opens_menu.patch
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2013-06-07 13:10:29 UTC
Size:
1.45 KB
patch
obsolete
>https://github.com/hexchat/hexchat/issues/522 >https://github.com/hexchat/hexchat/commit/a5eb7784c654abc42bfdba0fcf21602b5842b256 > >--- hexchat-2.9.5/src/fe-gtk/maingui.c >+++ hexchat-2.9.5/src/fe-gtk/maingui.c >@@ -2263,37 +2263,42 @@ > int word_type, start, end; > char *tmp; > >- if (word == NULL) >+ if (word) > { >- if (even->button == 1) /* left button */ >- mg_focus (sess); >- return; >+ word_type = mg_word_check (xtext, word); >+ url_last (&start, &end); > } > >- word_type = mg_word_check (xtext, word); >- url_last (&start, &end); >- >- if (even->button == 1 && (even->state & 13) == prefs.hex_gui_url_mod) >+ if (even->button == 1) /* left button */ > { >- switch (word_type) >- { >- case WORD_URL: >- case WORD_HOST: >- word[end] = 0; >- word += start; >- fe_open_url (word); >- } >- return; >+ if (word == NULL) >+ { >+ mg_focus (sess); >+ return; >+ } >+ >+ if ((even->state & 13) == prefs.hex_gui_url_mod) >+ { >+ switch (word_type) >+ { >+ case WORD_URL: >+ case WORD_HOST: >+ fe_open_url (word); >+ } >+ } >+ return; > } > > if (even->button == 2) > { >- if (sess->type == SESS_DIALOG) >- menu_middlemenu (sess, even); >- else if (even->type == GDK_2BUTTON_PRESS) >- userlist_select (sess, word); >- return; >+ if (sess->type == SESS_DIALOG) >+ menu_middlemenu (sess, even); >+ else if (even->type == GDK_2BUTTON_PRESS) >+ userlist_select (sess, word); >+ return; > } >+ if (word == NULL) >+ return; > > switch (word_type) > {
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 472578
: 350338