• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Japanese translation of message catalog for Sawfish Window-Manager


Commit MetaInfo

修订版8d9827cb29f6f889de42058aabcf35c751fdfcce (tree)
时间2010-11-17 21:56:22
作者Michal Maruska <mmaruska@gmai...>
CommiterMichal Maruska

Log Message

useless: make the no_focus_window VISIBLE

更改概述

差异

--- a/src/display.c
+++ b/src/display.c
@@ -357,12 +357,14 @@ sys_init(char *program_name)
357357 /* this value is assumed in events.c:get_server_timestamp */
358358 attr.event_mask = KeyPressMask;
359359 attr.override_redirect = True;
360+ attr.do_not_propagate_mask = KeyPress;
360361 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,
363364 CWEventMask
364365 | CWOverrideRedirect,
365366 &attr);
367+ XSelectInput (dpy, no_focus_window, KeyPressMask | FocusChangeMask);
366368 XMapWindow (dpy, no_focus_window);
367369 }
368370