summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorShawn <sabetts@juicebox>2008-02-06 14:16:37 -0800
committerShawn <sabetts@juicebox>2008-02-06 14:16:37 -0800
commitbd51b1705292845686f8f682d15f6b7b90ddc787 (patch)
tree17419004fb598453f019bc57cc1d33063a0f1327 /src/window.c
parentcbcc8f2882ac8985a027b5c8423b5e764c51c158 (diff)
downloadratpoison-bd51b1705292845686f8f682d15f6b7b90ddc787.zip
Change the way input is read
Before rp used xgrabkeyboard to read a key. Instead, the keyboard is frozen when a top level key is read. Then when rp reads a key it first sets the input focus to a suitable location such as key_window or input_window, then thaws the keyboard and waits for a keypress. When a key is pressed the keyboard is frozen again and the process repeats until ratpoison is done reading input. At that point the keyboard is thawed in a way that future keystrokes do not refreeze the keyboard.
Diffstat (limited to 'src/window.c')
0 files changed, 0 insertions, 0 deletions