1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00

Revert "Do not try to use gpm in X11."

This reverts commit 8183aecd90.
This commit is contained in:
witekfl 2011-07-06 13:41:41 +02:00
parent ab8fa8daed
commit eb4e5d7e0d
2 changed files with 1 additions and 6 deletions

View File

@ -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"

View File

@ -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;