window. now attaching thread input queues as necessary. shifted
code around so toggling toggle keys is immediately reflected by
secondary screen's keyboard. now setting extended key flag for
keys that need it. fixed handling of shift + caps-lock. added
handling of keys that should distinguish between left and right
but don't. fixed get/set of active window on leave/enter of
primary screen. replaced 1x1 primary window with a full screen
window to work around a problem with losing key events. changed
calculation of mouse move deltas.
also should now work if the first element of a modifier
keymapping is 0. that won't normally be the case but xmodmap
was doing weird things on grace. if the first element is 0
it'll try the second element. if that's also zero then that
modifier will be ignored.
now tries to map ISO_Left_Tab without shift first then falls back
to Tab (note that if ISO_Left_Tab can be mapped but requires a
modifier then the modifier will be added). also changed attempt
to map ISO_Left_Tab as a backup to Tab to request the shift
modifier whether or not the primary screen requested it.
a screen. this allows the secondary screen to set it's
modifier state to match the primary screen's state. this is
not strictly necessary since each keystroke should adjust the
modifier state as needed to get the right result.
sending a sequence number with enter messages. screens use that
sequence number in clipboard grab and data messages. the server
uses the sequence number to order messages across clients. also
changed secondary screens to send clipboard updates on leaving
(or when grab occurs when not active) instead of on a query from
the server. primary effectively does the same. the query
message has been removed.
now but did notice one problem: when powerbook is primary and
num-lock is on the keypad works fine until shift is pressed
(and released); after that the keypad only works while the
shift key is down.
That key only reports press when pressed and released when
caps-lock is activated and only reports release when pressed
and released when caps-lock is deactivated. I don't know of a
way to detect this behavior so it may have to be configured by
the user. The code assumes normal behavior; will have to add
code to set the flag (perhaps from a user configuration).