projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32808b5
)
make the value boolean
author
Dana Jansens
<danakj@orodu.net>
Fri, 28 Mar 2003 10:02:21 +0000
(10:02 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 28 Mar 2003 10:02:21 +0000
(10:02 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index 209f5f9657e2b826fa0f4679047b0066e6e6093a..75ba752b57b8c9d4ef12e028c824b1a989f24184 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-706,7
+706,7
@@
void client_update_normal_hints(Client *self)
/* get the hints from the window */
if (XGetWMNormalHints(ob_display, self->window, &size, &ret)) {
- self->positioned = (size.flags & (PPosition|USPosition));
+ self->positioned =
!!
(size.flags & (PPosition|USPosition));
if (size.flags & PWinGravity) {
self->gravity = size.win_gravity;