diff options
author | MC <mc@hack.org> | 2010-06-21 10:37:13 +0200 |
---|---|---|
committer | MC <mc@hack.org> | 2010-06-21 10:37:13 +0200 |
commit | 280eecac584fbe9e4ea4506fb676d1dc8fecf9eb (patch) | |
tree | 4fec649389facee1b1497cbc924f9618c0a2f34f | |
parent | 1fe8aac594a0c90caef995535ef5e771c9cdd5d3 (diff) | |
download | mcwm-280eecac584fbe9e4ea4506fb676d1dc8fecf9eb.zip |
Removed comment about xterm. It seems it sends a Configure Request to
reconfigure its own geometry!
Added debug printouts in Configure Request.
-rw-r--r-- | mcwm.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -182,8 +182,7 @@ void newwin(xcb_window_t win) /* * If the hints don't agree with the window geometry, resize - * the window to what the hints say. Needed for xterm, for - * example. + * the window to what the hints say. */ if (width != geom->width || height != geom->height) { @@ -1301,6 +1300,7 @@ void events(void) if (e->value_mask & XCB_CONFIG_WINDOW_X) { + PDEBUG("Changing X coordinate.\n"); mask |= XCB_CONFIG_WINDOW_X; i ++; values[i] = e->x; @@ -1309,6 +1309,7 @@ void events(void) if (e->value_mask & XCB_CONFIG_WINDOW_Y) { + PDEBUG("Changing Y coordinate.\n"); mask |= XCB_CONFIG_WINDOW_Y; i ++; values[i] = e->y; @@ -1317,7 +1318,7 @@ void events(void) if (e->value_mask & XCB_CONFIG_WINDOW_WIDTH) { - PDEBUG("Changing width\n"); + PDEBUG("Changing width.\n"); mask |= XCB_CONFIG_WINDOW_WIDTH; i ++; values[i] = e->width; @@ -1325,6 +1326,7 @@ void events(void) if (e->value_mask & XCB_CONFIG_WINDOW_HEIGHT) { + PDEBUG("Changing height.\n"); mask |= XCB_CONFIG_WINDOW_HEIGHT; i ++; values[i] = e->width; |