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 1472017 Details for
Bug 1610681
ALT is ignored in mouse event
[?]
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.
test case
mouse_error.c (text/x-csrc), 860 bytes, created by
Pavel Stehule
on 2018-08-01 08:06:09 UTC
(
hide
)
Description:
test case
Filename:
MIME Type:
Creator:
Pavel Stehule
Created:
2018-08-01 08:06:09 UTC
Size:
860 bytes
patch
obsolete
>#include <curses.h> >#include <stdio.h> >#include <stdlib.h> > >int >main(int argc, char *argv[]) >{ > int event_keycode = 0; > MEVENT mevent; > > >#define DEBUG_PIPE "/home/pavel/debug" > >FILE *debug_pipe = NULL; > > debug_pipe = fopen(DEBUG_PIPE, "w"); > setlinebuf(debug_pipe); > > > initscr(); > > clear(); > noecho(); > keypad(stdscr, TRUE); > > mouseinterval(0); > > > mousemask(BUTTON1_PRESSED | BUTTON_ALT, NULL); > > event_keycode = wgetch(stdscr); > while (event_keycode != 'q') > { > fprintf(debug_pipe, "event: %s\n", keyname(event_keycode)); > > if (event_keycode == KEY_MOUSE) > { > getmouse(&mevent); > fprintf(debug_pipe, "bstate: %016x\n", mevent.bstate); > > if (mevent.bstate & BUTTON_ALT) > { > endwin(); > printf("mouse button1 was released with alt\n"); > exit(0); > } > } > > event_keycode = wgetch(stdscr); > } > > endwin(); > > fclose(debug_pipe); > > return 0; >}
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 Raw
Actions:
View
Attachments on
bug 1610681
: 1472017