Browse Source

Now the Shortcuts are more consistent.

Keep the debile happy.
master
Christoph Lohmann 8 years ago
parent
commit
e2aa03e6b7
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      config.def.h
  2. +2
    -2
      st.c

+ 1
- 1
config.def.h View File

@ -134,7 +134,7 @@ static unsigned int defaultunderline = 7;
* Internal mouse shortcuts.
* Beware that overloading Button1 will disable the selection.
*/
static Mousekey mshortcuts[] = {
static MouseShortcut mshortcuts[] = {
/* button mask string */
{ Button4, XK_ANY_MOD, "\031" },
{ Button5, XK_ANY_MOD, "\005" },


+ 2
- 2
st.c View File

@ -275,7 +275,7 @@ typedef struct {
uint b;
uint mask;
char *s;
} Mousekey;
} MouseShortcut;
typedef struct {
KeySym k;
@ -944,7 +944,7 @@ void
bpress(XEvent *e)
{
struct timespec now;
Mousekey *mk;
MouseShortcut *mk;
if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forceselmod)) {
mousereport(e);


Loading…
Cancel
Save