summaryrefslogtreecommitdiff
path: root/plugins/placement/history.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-10 06:18:47 +0000
committerDana Jansens <danakj@orodu.net>2003-07-10 06:18:47 +0000
commit276b2be581c6cb138b439537761ff2ca42201805 (patch)
tree753038e7990b881a2bc0e525fab1ebc45b2523e3 /plugins/placement/history.c
parent6357583c396382dd6ed8ac42004177f204fabe62 (diff)
add misc.h with some standard enumerations with proper prefixing and capitalizations.
use the new enums throughout. provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode.
Diffstat (limited to 'plugins/placement/history.c')
-rw-r--r--plugins/placement/history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/placement/history.c b/plugins/placement/history.c
index 797aef3b..f2b4ea63 100644
--- a/plugins/placement/history.c
+++ b/plugins/placement/history.c
@@ -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) {