[prev in list] [next in list] [prev in thread] [next in thread]
List: openbox
Subject: [openbox] syntax error in openbox/moveresize.c
From: akorop () gmail ! com (Alexey Korop)
Date: 2010-12-15 4:33:29
Message-ID: 4D084519.5090806 () gmail ! com
[Download RAW message or body]
Hi, All
I have tried to build openbox under crunchbang linux with minimal
couple of the libraries, and I got an error message
openbox/moveresize.c: In function ?do_resize?:
openbox/moveresize.c:407: error: ?waiting_for_sync? undeclared (first
use in this function)
This problem is solved by patch following. I do not understand the
meaning of this fragment, the patch is formed from formal considerations.
+++ moveresize.c 2010-12-15 06:13:56.000000000 +0200
@@ -400,11 +400,15 @@
client_try_configure(moveresize_client, &x, &y, &w, &h,
&lw, &lh, TRUE);
if (!(w == moveresize_client->area.width &&
- h == moveresize_client->area.height) &&
+ h == moveresize_client->area.height)
+#ifdef SYNC
+ &&
/* if waiting_for_sync == 0, then we aren't waiting.
if it is > SYNC_TIMEOUTS, then we have timed out
that many times already, so forget about waiting more */
- (waiting_for_sync == 0 || waiting_for_sync > SYNC_TIMEOUTS))
+ (waiting_for_sync == 0 || waiting_for_sync > SYNC_TIMEOUTS)
+#endif
+ )
{
#ifdef SYNC
if (config_resize_redraw && obt_display_extension_sync &&
Yours truly Alexey
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic