all repos — openbox @ 6372bd7c0d68793c2371ce7b6c1aa8017f913aee

openbox fork - make it a bit more like ryudo

use CurrentTime constant
Dana Jansens danakj@orodu.net
commit

6372bd7c0d68793c2371ce7b6c1aa8017f913aee

parent

2876f22088bc29d3a70a5a2e3295bad64171ba8d

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M openbox/grab.copenbox/grab.c

@@ -41,7 +41,7 @@

static Time ungrab_time() { Time t = event_curtime; - if (!(t == 0 || event_time_after(t, grab_time))) + if (!(t == CurrentTime || event_time_after(t, grab_time))) /* When the time moves backward on the server, then we can't use the grab time because that will be in the future. So instead we have to use CurrentTime.