Hi,
Lars Bjørndal, le Wed 02 May 2007 12:13:03 +0200, a écrit :
> A question is: Could the BRLTTY's release function be tied to the alt
> key when in the console window? In case, I think the port will be free
> early enough for Window-Eyes.
Actually, the msdn documentation says that alt pressures are never sent
to windows applications. That said, the attached patch does what you
probably need: it detects the opening of the alt-tab window. Could you
test it?
Samuel
Index: ScreenDrivers/Windows/screen.c
===================================================================
--- ScreenDrivers/Windows/screen.c (revision 3013)
+++ ScreenDrivers/Windows/screen.c (working copy)
@@ -168,19 +168,13 @@
static void
describe_WindowsScreen (ScreenDescription *description) {
description->number = (int) currentVirtualTerminal_WindowsScreen();
- description->unreadable = unreadable;
- if (altTab) {
+ description->unreadable = unreadable ? unreadable : altTab ? altTabName :
NULL;
+ if (description->unreadable) {
description->rows = 1;
- description->cols = strlen(altTabName);
+ description->cols = strlen(description->unreadable);
description->posx = 0;
description->posy = 0;
description->cursor = 0;
- } else if (unreadable) {
- description->rows = 1;
- description->cols = strlen(unreadable);
- description->posx = 0;
- description->posy = 0;
- description->cursor = 0;
} else {
description->cols = cols = info.srWindow.Right + 1 - info.srWindow.Left;
description->rows = rows = info.srWindow.Bottom + 1 - info.srWindow.Top;
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty