This website works better with JavaScript.
Home
Explore
Help
Sign In
er1n
/
i3lock
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Bugfix: Correctly error out when unable to grab pointer/keyboard
master
Michael Stapelberg
15 years ago
parent
4e5c203cd9
commit
c24922f0f2
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
xcb.c
+ 1
- 1
xcb.c
View File
@ -177,6 +177,6 @@ void grab_pointer_and_keyboard(xcb_connection_t *conn, xcb_screen_t *screen) {
}
}
}
}
if
(
tries
=
=
0
)
if
(
tries
<
=
0
)
errx
(
EXIT_FAILURE
,
"
Cannot grab pointer/keyboard
"
)
;
errx
(
EXIT_FAILURE
,
"
Cannot grab pointer/keyboard
"
)
;
}
}
Write
Preview
Loading…
Cancel
Save