]> Dogcows Code - chaz/openbox/blobdiff - plugins/placement/history.c
add misc.h with some standard enumerations with proper prefixing and capitalizations.
[chaz/openbox] / plugins / placement / history.c
index 797aef3b8978606a3444b8095583b4c2be739b14..f2b4ea632a77790eadb57eb4592f55e91ff12c1d 100644 (file)
@@ -58,7 +58,7 @@ gboolean place_history(Client *c)
 
     if (hi && !(hi->flags & PLACED)) {
         hi->flags |= PLACED;
-        if (ob_state != State_Starting) {
+        if (ob_state != OB_STATE_STARTING) {
             if (hi->flags & HAVE_POSITION ||
                 hi->flags & HAVE_SIZE) {
                 if (hi->flags & HAVE_POSITION) {
@@ -77,7 +77,7 @@ gboolean place_history(Client *c)
                     w = c->area.width;
                     h = c->area.height;
                 }
-                client_configure(c, Corner_TopLeft, x, y, w, h,
+                client_configure(c, OB_CORNER_TOPLEFT, x, y, w, h,
                                  TRUE, TRUE);
             }
             if (hi->flags & HAVE_DESKTOP) {
This page took 0.020055 seconds and 4 git commands to generate.