21 lines
696 B
Plaintext
21 lines
696 B
Plaintext
|
$OpenBSD: patch-openbox_moveresize_c,v 1.1 2012/10/23 14:30:56 gonzalo Exp $
|
||
|
--- openbox/moveresize.c.orig Wed Oct 10 17:27:34 2012
|
||
|
+++ openbox/moveresize.c Wed Oct 10 17:29:12 2012
|
||
|
@@ -326,6 +326,16 @@ void moveresize_end(gboolean cancel)
|
||
|
#endif
|
||
|
}
|
||
|
|
||
|
+ if (!moveresize_client) {
|
||
|
+ ob_debug("moveresize_end: moveresize_client is NULL!");
|
||
|
+ return;
|
||
|
+ }
|
||
|
+
|
||
|
+ if (!moveresize_in_progress) {
|
||
|
+ ob_debug("moveresize_end: moveresize_in_progress is FALSE!");
|
||
|
+ return;
|
||
|
+ }
|
||
|
+
|
||
|
/* don't use client_move() here, use the same width/height as
|
||
|
we've been using during the move, otherwise we get different results
|
||
|
when moving maximized windows between monitors of different sizes !
|