Now the Shortcuts are more consistent.
Keep the debile happy.
This commit is contained in:
parent
f56c58a968
commit
e2aa03e6b7
|
@ -134,7 +134,7 @@ static unsigned int defaultunderline = 7;
|
||||||
* Internal mouse shortcuts.
|
* Internal mouse shortcuts.
|
||||||
* Beware that overloading Button1 will disable the selection.
|
* Beware that overloading Button1 will disable the selection.
|
||||||
*/
|
*/
|
||||||
static Mousekey mshortcuts[] = {
|
static MouseShortcut mshortcuts[] = {
|
||||||
/* button mask string */
|
/* button mask string */
|
||||||
{ Button4, XK_ANY_MOD, "\031" },
|
{ Button4, XK_ANY_MOD, "\031" },
|
||||||
{ Button5, XK_ANY_MOD, "\005" },
|
{ Button5, XK_ANY_MOD, "\005" },
|
||||||
|
|
4
st.c
4
st.c
|
@ -275,7 +275,7 @@ typedef struct {
|
||||||
uint b;
|
uint b;
|
||||||
uint mask;
|
uint mask;
|
||||||
char *s;
|
char *s;
|
||||||
} Mousekey;
|
} MouseShortcut;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
KeySym k;
|
KeySym k;
|
||||||
|
@ -944,7 +944,7 @@ void
|
||||||
bpress(XEvent *e)
|
bpress(XEvent *e)
|
||||||
{
|
{
|
||||||
struct timespec now;
|
struct timespec now;
|
||||||
Mousekey *mk;
|
MouseShortcut *mk;
|
||||||
|
|
||||||
if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) {
|
if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) {
|
||||||
mousereport(e);
|
mousereport(e);
|
||||||
|
|
Loading…
Reference in New Issue