summaryrefslogtreecommitdiff
path: root/community/openbox/movesize.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-13 00:05:25 +0000
committerroot <root@rshg054.dnsready.net>2012-05-13 00:05:25 +0000
commite8aea505d7f36277edd02ef965bc3f8e1c81ee5d (patch)
tree1f61a4443a471430d6430cad09742b6154617cad /community/openbox/movesize.patch
parente1da03cf5ba92abee0e3afd9dc4cef438ebf96c7 (diff)
Sun May 13 00:05:24 UTC 2012
Diffstat (limited to 'community/openbox/movesize.patch')
-rw-r--r--community/openbox/movesize.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/openbox/movesize.patch b/community/openbox/movesize.patch
new file mode 100644
index 000000000..4f0e8595e
--- /dev/null
+++ b/community/openbox/movesize.patch
@@ -0,0 +1,19 @@
+--- openbox-3.5.0/openbox/moveresize.c.orig 2011-08-01 21:14:58.000000000 +0100
++++ openbox-3.5.0/openbox/moveresize.c 2012-03-28 20:04:36.100459920 +0100
+@@ -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 !