s/…/./ where it makes sense

This commit is contained in:
Michael Stapelberg 2009-02-23 17:23:57 +01:00
parent 06bef32346
commit 6e81d1c5e4
2 changed files with 3 additions and 3 deletions

View File

@ -226,7 +226,7 @@ int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_
nr &= XCB_EVENT_RESPONSE_TYPE_MASK; nr &= XCB_EVENT_RESPONSE_TYPE_MASK;
assert(nr >= 2); assert(nr >= 2);
/* Check if we need to escape this loop */ /* Check if we need to escape this loop */
if (nr == XCB_BUTTON_RELEASE) if (nr == XCB_BUTTON_RELEASE)
break; break;
@ -390,7 +390,7 @@ int handle_client_message(void *data, xcb_connection_t *conn, xcb_client_message
if (client == NULL) if (client == NULL)
return 0; return 0;
/* Check if the fullscreen state should be toggled */ /* Check if the fullscreen state should be toggled */
if ((client->fullscreen && if ((client->fullscreen &&
(event->data.data32[0] == _NET_WM_STATE_REMOVE || (event->data.data32[0] == _NET_WM_STATE_REMOVE ||
event->data.data32[0] == _NET_WM_STATE_TOGGLE)) || event->data.data32[0] == _NET_WM_STATE_TOGGLE)) ||

View File

@ -211,7 +211,7 @@ static void render_container(xcb_connection_t *connection, Container *container)
int current_client = 0; int current_client = 0;
CIRCLEQ_FOREACH(client, &(container->clients), clients) { CIRCLEQ_FOREACH(client, &(container->clients), clients) {
/* Check if we changed client->x or client->y by updating it /* Check if we changed client->x or client->y by updating it.
* Note the bitwise OR instead of logical OR to force evaluation of both statements */ * Note the bitwise OR instead of logical OR to force evaluation of both statements */
if (client->force_reconfigure | if (client->force_reconfigure |
(client->rect.x != (client->rect.x = container->x)) | (client->rect.x != (client->rect.x = container->x)) |