Japanese translation of message catalog for Sawfish Window-Manager
修订版 | 8d9827cb29f6f889de42058aabcf35c751fdfcce (tree) |
---|---|
时间 | 2010-11-17 21:56:22 |
作者 | Michal Maruska <mmaruska@gmai...> |
Commiter | Michal Maruska |
useless: make the no_focus_window VISIBLE
@@ -357,12 +357,14 @@ sys_init(char *program_name) | ||
357 | 357 | /* this value is assumed in events.c:get_server_timestamp */ |
358 | 358 | attr.event_mask = KeyPressMask; |
359 | 359 | attr.override_redirect = True; |
360 | + attr.do_not_propagate_mask = KeyPress; | |
360 | 361 | no_focus_window = XCreateWindow (dpy, root_window, |
361 | - -10, -10, 10, 10, 0, 0, | |
362 | - InputOnly, CopyFromParent, | |
362 | + 10, 10, 10, 10, 0, 0, | |
363 | + InputOutput, CopyFromParent, | |
363 | 364 | CWEventMask |
364 | 365 | | CWOverrideRedirect, |
365 | 366 | &attr); |
367 | + XSelectInput (dpy, no_focus_window, KeyPressMask | FocusChangeMask); | |
366 | 368 | XMapWindow (dpy, no_focus_window); |
367 | 369 | } |
368 | 370 |