Cygwin: console: Fix a problem that minor ID is incorrect in ConEmu.
commit8aad3a7edeb27b163db551403eecc94c959c857a
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Tue, 13 Feb 2024 02:45:36 +0000 (13 11:45 +0900)
committerTakashi Yano <takashi.yano@nifty.ne.jp>
Tue, 13 Feb 2024 14:27:44 +0000 (13 23:27 +0900)
tree30600cc5ab95d352ffc5185d6ddfa4b9d824d3ac
parentac92c4c9f564eda3158c1c0742c0939e6152f769
Cygwin: console: Fix a problem that minor ID is incorrect in ConEmu.

Previously, minor device number of console was not assigned correctly
in ConEmu environment. This is because console window of ConEmu is
not enumerated by EnumWindows(). This patch fixes the issue.

Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
winsup/cygwin/autoload.cc
winsup/cygwin/devices.cc
winsup/cygwin/devices.in
winsup/cygwin/fhandler/console.cc