]> Dogcows Code - chaz/openbox/blobdiff - openbox/frame.c
make openbox use the obt prop.c/h stuff
[chaz/openbox] / openbox / frame.c
index 7f28bbb243f7b7f33f720da2e86dae5abdd25553..e598b31736c31fac7f85a237e33a6c7a77a3849f 100644 (file)
@@ -20,7 +20,6 @@
 #include "frame.h"
 #include "client.h"
 #include "openbox.h"
-#include "prop.h"
 #include "grab.h"
 #include "config.h"
 #include "framerender.h"
@@ -30,6 +29,7 @@
 #include "screen.h"
 #include "render/theme.h"
 #include "obt/display.h"
+#include "obt/prop.h"
 
 #define FRAME_EVENTMASK (EnterWindowMask | LeaveWindowMask | \
                          ButtonPressMask | ButtonReleaseMask | \
@@ -859,10 +859,10 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
             vals[1] = self->size.right;
             vals[2] = self->size.top;
             vals[3] = self->size.bottom;
-            PROP_SETA32(self->client->window, net_frame_extents,
-                        cardinal, vals, 4);
-            PROP_SETA32(self->client->window, kde_net_wm_frame_strut,
-                        cardinal, vals, 4);
+            OBT_PROP_SETA32(self->client->window, NET_FRAME_EXTENTS,
+                            CARDINAL, vals, 4);
+            OBT_PROP_SETA32(self->client->window, KDE_NET_WM_FRAME_STRUT,
+                            CARDINAL, vals, 4);
         }
 
         /* if this occurs while we are focus cycling, the indicator needs to
This page took 0.024099 seconds and 4 git commands to generate.