[Github-comments] [geany/geany-plugins] Make numbered bookmarks work with numlock on (#1093)

David Yang notifications at xxxxx
Thu Jul 22 00:36:21 UTC 2021


@Davidy22 commented on this pull request.



>  	/* control+shift+number */
-	if(ev->state==5 || ev->state==21) {
+	if(ev->state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) {

Oh word, that wasn't the way I thought it'd work. Thought it was checking right too when I was checking ctrl+number.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1093#discussion_r674430964
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210721/c1421051/attachment.htm>


More information about the Github-comments mailing list