two nits missing in previous commit
This commit is contained in:
parent
4777ba761a
commit
238484184f
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: emumb.c,v 1.12 2012/07/08 13:51:11 shadchin Exp $ */
|
||||
/* $OpenBSD: emumb.c,v 1.13 2012/07/08 14:22:03 shadchin Exp $ */
|
||||
/*
|
||||
* Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
|
||||
* Copyright 1993 by David Dawes <dawes@xfree86.org>
|
||||
@ -291,7 +291,7 @@ wsmbEmuBlockHandler(pointer data, struct timeval **waitTime,
|
||||
pointer LastSelectMask)
|
||||
{
|
||||
InputInfoPtr pInfo = (InputInfoPtr)data;
|
||||
WSDevicePtr priv= (WSDevicePtr)pInfo->private;
|
||||
WSDevicePtr priv = (WSDevicePtr)pInfo->private;
|
||||
int ms;
|
||||
|
||||
if (priv->emulateMB.pending) {
|
||||
|
@ -13,7 +13,7 @@
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
/* $OpenBSD: ws.c,v 1.56 2012/07/08 13:51:11 shadchin Exp $ */
|
||||
/* $OpenBSD: ws.c,v 1.57 2012/07/08 14:22:03 shadchin Exp $ */
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@ -498,12 +498,12 @@ wsReadInput(InputInfoPtr pInfo)
|
||||
case WSCONS_EVENT_MOUSE_UP:
|
||||
buttons &= ~(1 << event->value);
|
||||
DBG(4, ErrorF("Button %d up %x\n", event->value,
|
||||
buttons));
|
||||
buttons));
|
||||
break;
|
||||
case WSCONS_EVENT_MOUSE_DOWN:
|
||||
buttons |= (1 << event->value);
|
||||
DBG(4, ErrorF("Button %d down %x\n", event->value,
|
||||
buttons));
|
||||
buttons));
|
||||
break;
|
||||
case WSCONS_EVENT_MOUSE_DELTA_X:
|
||||
dx = event->value;
|
||||
|
Loading…
Reference in New Issue
Block a user