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:
6cc8d62
)
fix a signed/unsigned thing
author
Dana Jansens
<danakj@orodu.net>
Mon, 3 Feb 2003 09:06:25 +0000
(09:06 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 3 Feb 2003 09:06:25 +0000
(09:06 +0000)
src/screen.cc
patch
|
blob
|
history
diff --git
a/src/screen.cc
b/src/screen.cc
index f8989a05a942949ad2ade4867a2bad798ca5b054..6170a5bb347d075bd68f006f5725b355b80e60e0 100644
(file)
--- a/
src/screen.cc
+++ b/
src/screen.cc
@@
-717,7
+717,8
@@
void Screen::changeNumDesktops(long num)
Client::List::iterator it, end = clients.end();
for (it = clients.begin(); it != end; ++it) {
int d = (*it)->desktop();
- if (d >= num && !(d == 0xffffffff || d == Client::ICONIC_DESKTOP)) {
+ if (d >= num && !(d == (signed) 0xffffffff ||
+ d == Client::ICONIC_DESKTOP)) {
XEvent ce;
ce.xclient.type = ClientMessage;
ce.xclient.message_type = otk::Property::atoms.net_wm_desktop;