summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c8
-rw-r--r--openbox/screen.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 24d77127..3849736a 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1340,10 +1340,10 @@ void client_update_icons(Client *self)
++y;
}
self->icons[j].data[t] =
- (((data[i] >> 24) & 0xff) << default_alpha_offset) +
- (((data[i] >> 16) & 0xff) << default_red_offset) +
- (((data[i] >> 8) & 0xff) << default_green_offset) +
- (((data[i] >> 0) & 0xff) << default_blue_offset);
+ (((data[i] >> 24) & 0xff) << RrDefaultAlphaOffset) +
+ (((data[i] >> 16) & 0xff) << RrDefaultRedOffset) +
+ (((data[i] >> 8) & 0xff) << RrDefaultGreenOffset) +
+ (((data[i] >> 0) & 0xff) << RrDefaultBlueOffset);
}
g_assert(i <= num);
}
diff --git a/openbox/screen.c b/openbox/screen.c
index d438a800..a1bf55fa 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -11,7 +11,7 @@
#include "focus.h"
#include "dispatch.h"
#include "extensions.h"
-#include "../render/render.h"
+#include "render/render.h"
#ifdef USE_LIBSN
# define SN_API_NOT_YET_FROZEN