mirror of https://github.com/BOINC/boinc.git
- SCR: Fix bug in X11 screensaver.
This commit is contained in:
parent
a3731b71e5
commit
b1f1a22381
|
@ -6309,3 +6309,10 @@ David 21 Oct 2012
|
|||
|
||||
html/user/
|
||||
submit_rpc_handler.php
|
||||
|
||||
Rom 22 Oct 2012
|
||||
- SCR: Fix bug in X11 screensaver.
|
||||
(From Michael Tughan)
|
||||
|
||||
clientscr/
|
||||
screensaver_x11.cpp
|
||||
|
|
|
@ -522,7 +522,7 @@ int main(int argc, char *argv[]) {
|
|||
cookie = xcb_get_property(con, 0, clients[c], XCB_ATOM_WM_COMMAND, XCB_ATOM_STRING,
|
||||
0, std::numeric_limits<uint32_t>::max());
|
||||
reply2 = xcb_get_property_reply(con, cookie, &error);
|
||||
if(!error) // ignore errors {
|
||||
if(!error) { // ignore errors
|
||||
char *command = static_cast<char*>(xcb_get_property_value(reply2));
|
||||
|
||||
if(command && graphics_cmd == command) {
|
||||
|
|
Loading…
Reference in New Issue