Running Emacs in Windows 10 with Logitech MX Anywhere 2 mouse.  I've

changed the function of a mouse button to be "minimize".  After I

minimize (then restore) Emacs, I get no response from mouse clicks: I

can't select text or reposition the cursor.

 

I can still move the window and access menus with the mouse.  Accessing

menus clears the problem and I can again use the mouse normally.

 

This doesn't seem to be Major mode specific.  I get nothing in the *Messages*

buffer, and nothing is triggered when I select "Enter Debugger on Error".

 

 

In GNU Emacs 25.1.1 (x86_64-w64-mingw32)

of 2016-09-17 built on LAPHROAIG

Windowing system distributor 'Microsoft Corp.', version 10.0.14393

Configured using:

'configure --without-dbus --without-compress-install CFLAGS=-static'

 

Configured features:

XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB

TOOLKIT_SCROLL_BARS

 

Important settings:

  value of $LANG: ENU

  locale-coding-system: cp1252

 

Major mode: VHDL/es

 

Minor modes in effect:

  vhdl-stutter-mode: t

  vhdl-electric-mode: t

  show-paren-mode: t

  global-linum-mode: t

  linum-mode: t

  diff-auto-refine-mode: t

  delete-selection-mode: t

  global-auto-revert-mode: t

  tooltip-mode: t

  global-eldoc-mode: t

  electric-indent-mode: t

  mouse-wheel-mode: t

  menu-bar-mode: t

  file-name-shadow-mode: t

  global-font-lock-mode: t

  font-lock-mode: t

  blink-cursor-mode: t

  auto-composition-mode: t

  auto-encryption-mode: t

  auto-compression-mode: t

  column-number-mode: t

  line-number-mode: t

  transient-mark-mode: t

 

Recent messages:

Type C-x 1 to delete the help window.

Mark set [3 times]

Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %; q to quit; ? for help.

Debug on Error enabled globally

Mark set [2 times]

Debug on Quit enabled globally

Mark set

Quit

Mark set

Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %; q to quit; ? for help.

Quit [9 times]

 

Load-path shadows:

None found.

 

Features:

(shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec

password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode

mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047

rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt help-fns

cl-extra two-column iso-transl help-mode vhdl-mode hippie-exp paren

linum cus-start cus-load p4 edmacro kmacro ps-print ps-def lpr diff-mode

easymenu easy-mmode dired compile comint ansi-color ring delsel

autorevert filenotify cl-loaddefs pcase cl-lib time-date mule-util

tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type

mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win

tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment

elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer

select scroll-bar mouse jit-lock font-lock syntax facemenu font-core

frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan

thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian

slovak czech european ethiopic indian cyrillic chinese charscript

case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer

cl-preloaded nadvice loaddefs button faces cus-face macroexp files

text-properties overlay sha1 md5 base64 format env code-pages mule

custom widget hashtable-print-readable backquote w32notify w32 multi-tty

make-network-process emacs)

 

Memory information:

((conses 16 150111 28377)

(symbols 56 25208 0)

(miscs 48 681 510)

(strings 32 33223 15106)

(string-bytes 1 879851)

(vectors 16 16540)

(vector-slots 8 480148 3591)

(floats 8 438 394)

(intervals 56 2036 578)

(buffers 976 23))