minor fixes for preprocessors

This commit is contained in:
fluxgen 2002-08-04 15:00:50 +00:00
parent abf74ed036
commit 33d482aba5

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: fluxbox.cc,v 1.63 2002/08/02 13:00:23 fluxgen Exp $
// $Id: fluxbox.cc,v 1.64 2002/08/04 15:00:50 fluxgen Exp $
//Use GNU extensions
#ifndef _GNU_SOURCE
@ -1047,9 +1047,9 @@ void Fluxbox::handleUnmapNotify(XUnmapEvent &ue) {
void Fluxbox::handleClientMessage(XClientMessageEvent &ce) {
#ifdef DEBUG
cerr<<__FILE__<<"("<<__LINE__<<"): ClientMessage. data.l[0]=0x"<<hex<<ce.data.l[0]<<
" type=0x"<<ce.message_type<<dec<<endl;
" message_type=0x"<<ce.message_type<<dec<<endl;
#endif
#endif // DEBUG
if (ce.format != 32)
return;
@ -1501,6 +1501,7 @@ bool Fluxbox::checkGnomeAtoms(XClientMessageEvent &ce) {
FluxboxWindow *win = 0;
win = searchWindow(ce.window);
screen = searchScreen(ce.window);
if (ce.message_type == getGnomeWorkspaceAtom()) {
#ifdef DEBUG
cerr<<__FILE__<<"("<<__LINE__<<"): Got workspace atom="<<ce.data.l[0]<<endl;
@ -1519,13 +1520,13 @@ bool Fluxbox::checkGnomeAtoms(XClientMessageEvent &ce) {
if (ce.message_type == getGnomeStateAtom()) {
#ifdef DEBUG
cerr<<__FILE__<<"("<<__LINE__<<"): _WIN_STATE"<<endl;
#endif
#endif // DEBUG
#ifdef DEBUG
cerr<<__FILE__<<"("<<__LINE__<<"): Mask of members to change:"<<
hex<<ce.data.l[0]<<dec<<endl; // mask_of_members_to_change
cerr<<"New members:"<<ce.data.l[1]<<endl;
#endif
#endif // DEBUG
//get new states
int flag = ce.data.l[0] & ce.data.l[1];
@ -1535,7 +1536,8 @@ bool Fluxbox::checkGnomeAtoms(XClientMessageEvent &ce) {
} else if (ce.message_type == getGnomeHintsAtom()) {
#ifdef DEBUG
cerr<<__FILE__<<"("<<__LINE__<<"): _WIN_HINTS"<<endl;
#endif
#endif // DEBUG
} else
return false; //the gnome atom wasn't found or not supported
} else