mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
parent
ab8fa8daed
commit
eb4e5d7e0d
@ -81,7 +81,7 @@ struct socket_weak_ref {
|
||||
static INIT_LIST_OF(struct socket_weak_ref, socket_weak_refs);
|
||||
|
||||
/* To enable logging of tranfers, for debugging purposes. */
|
||||
#if 1
|
||||
#if 0
|
||||
|
||||
#define DEBUG_TRANSFER_LOGFILE "/tmp/log"
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
#include <gpm.h>
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "elinks.h"
|
||||
|
||||
#include "main/select.h"
|
||||
@ -82,9 +80,6 @@ static int
|
||||
init_mouse(int cons, int suspend)
|
||||
{
|
||||
Gpm_Connect conn;
|
||||
unsigned char *display = getenv("DISPLAY");
|
||||
|
||||
if (display && *display) return -1;
|
||||
|
||||
/* We want to get even move events because of the wheels. */
|
||||
conn.eventMask = suspend ? 0 : ~0;
|
||||
|
Loading…
Reference in New Issue
Block a user