projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b6b9124
)
Remove edge switching timer before adding it again.
author
Mikael Magnusson
<mikachu@comhem.se>
Sat, 4 Aug 2007 01:57:58 +0000
(
03:57
+0200)
committer
Mikael Magnusson
<mikachu@comhem.se>
Sat, 4 Aug 2007 11:21:25 +0000
(13:21 +0200)
openbox/moveresize.c
patch
|
blob
|
history
diff --git
a/openbox/moveresize.c
b/openbox/moveresize.c
index
bfa0feb
..
1a8550a
100644
(file)
--- a/
openbox/moveresize.c
+++ b/
openbox/moveresize.c
@@
-526,9
+526,8
@@
static void do_edge_warp(gint x, gint y)
}
if (dir != edge_warp_dir) {
- if (dir == (ObDirection)-1)
- cancel_edge_warp();
- else {
+ cancel_edge_warp();
+ if (dir != (ObDirection)-1) {
edge_warp_odd = TRUE; /* switch on the first timeout */
ob_main_loop_timeout_add(ob_main_loop,
config_mouse_screenedgetime * 1000,