]> code.delx.au - spectrwm/commitdiff
Add a few more xcb_flush().
authorReginald Kennedy <rk@rejii.com>
Sun, 15 Jul 2012 09:26:47 +0000 (17:26 +0800)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 21:59:29 +0000 (05:59 +0800)
Remove whitespace.

spectrwm.c

index 386899dac9f9e2445294437c7122350a8b9eefc1..313b4ce4eebcbaec43583022bea2d4640f263f4f 100644 (file)
@@ -856,7 +856,7 @@ ewmh_autoquirk(struct ws_win *win)
 
        n = xcb_get_property_value_length(r);
        type = xcb_get_property_value(r);
 
        n = xcb_get_property_value_length(r);
        type = xcb_get_property_value(r);
-       
+
        for (i = 0; i < n; i++) {
                if (type[i] == ewmh[_NET_WM_WINDOW_TYPE_NORMAL].atom)
                        break;
        for (i = 0; i < n; i++) {
                if (type[i] == ewmh[_NET_WM_WINDOW_TYPE_NORMAL].atom)
                        break;
@@ -3716,6 +3716,7 @@ uniconify(struct swm_region *r, union arg *args)
        }
 
        fclose(lfile);
        }
 
        fclose(lfile);
+
        xcb_flush(conn);
 }
 
        xcb_flush(conn);
 }
 
@@ -6722,6 +6723,8 @@ buttonpress(xcb_button_press_event_t *e)
                    buttons[i].button == e->detail &&
                    CLEANMASK(buttons[i].mask) == CLEANMASK(e->state))
                        buttons[i].func(win, &buttons[i].args);
                    buttons[i].button == e->detail &&
                    CLEANMASK(buttons[i].mask) == CLEANMASK(e->state))
                        buttons[i].func(win, &buttons[i].args);
+
+       xcb_flush(conn);
 }
 
 void
 }
 
 void
@@ -6790,6 +6793,8 @@ configurerequest(xcb_configure_request_event_t *e)
        } else {
                config_win(win, e);
        }
        } else {
                config_win(win, e);
        }
+
+       xcb_flush(conn);
 }
 
 void
 }
 
 void
@@ -7154,6 +7159,8 @@ clientmessage(xcb_client_message_event_t *e)
 
                stack();
        }
 
                stack();
        }
+
+       xcb_flush(conn);
 }
 
 int
 }
 
 int