summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-07-23 21:32:31 -0400
committerDana Jansens <danakj@orodu.net>2008-01-20 01:36:54 -0500
commit32a92abf7578ea93d85741b7c89a0958082aa9ee (patch)
treef8947a21386d8153350441653c216d3a93d53495 /openbox/client.c
parent27274cff9c3ee668be0aa71ff4a72979a13cb4ca (diff)
move the code for tracking what extensions are available on the display into the libobt
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 025dd129..20ccfe3d 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -26,7 +26,6 @@
#include "ping.h"
#include "place.h"
#include "prop.h"
-#include "extensions.h"
#include "frame.h"
#include "session.h"
#include "event.h"
@@ -1262,7 +1261,7 @@ static void client_get_shaped(ObClient *self)
{
self->shaped = FALSE;
#ifdef SHAPE
- if (extensions_shape) {
+ if (obt_display_extension_shape) {
gint foo;
guint ufoo;
gint s;
@@ -3639,8 +3638,8 @@ gboolean client_focus(ObClient *self)
obt_display_ignore_errors(ob_display, FALSE);
ob_debug_type(OB_DEBUG_FOCUS, "Error focusing? %d\n",
- obt_display_error_occured());
- return !obt_display_error_occured();
+ obt_display_error_occured);
+ return !obt_display_error_occured;
}
static void client_present(ObClient *self, gboolean here, gboolean raise,