Skip to content
Snippets Groups Projects
Commit 00145a7a authored by Keiko Katsuragawa's avatar Keiko Katsuragawa
Browse files

fixed typo

parent 62cd1aa4
No related branches found
No related tags found
No related merge requests found
...@@ -219,7 +219,7 @@ void initX(int argc, char* argv[], XInfo& xinfo) { ...@@ -219,7 +219,7 @@ void initX(int argc, char* argv[], XInfo& xinfo) {
XSetBackground( xinfo.display, xinfo.gc, background ); XSetBackground( xinfo.display, xinfo.gc, background );
XSetForeground( xinfo.display, xinfo.gc, foreground ); XSetForeground( xinfo.display, xinfo.gc, foreground );
// Tell the window manager what input events you want. // Tell the base window system what input events you want.
// ButtomMotionMask: The client application receives MotionNotify events only when at least one button is pressed. // ButtomMotionMask: The client application receives MotionNotify events only when at least one button is pressed.
XSelectInput( xinfo.display, xinfo.window, XSelectInput( xinfo.display, xinfo.window,
ButtonPressMask | KeyPressMask | ButtonMotionMask ); ButtonPressMask | KeyPressMask | ButtonMotionMask );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment