diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index ba8994f..ecec988 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.146 2003/05/14 12:10:54 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.147 2003/05/14 14:37:06 fluxgen Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -454,6 +454,12 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile | |||
454 | cursor.lr_angle = XCreateFontCursor(disp, XC_lr_angle); | 454 | cursor.lr_angle = XCreateFontCursor(disp, XC_lr_angle); |
455 | 455 | ||
456 | s_singleton = this; | 456 | s_singleton = this; |
457 | m_have_shape = false; | ||
458 | m_shape_eventbase = 0; | ||
459 | #ifdef SHAPE | ||
460 | int shape_err; | ||
461 | m_have_shape = XShapeQueryExtension(disp, &m_shape_eventbase, &shape_err); | ||
462 | #endif // SHAPE | ||
457 | 463 | ||
458 | #ifdef HAVE_RANDR | 464 | #ifdef HAVE_RANDR |
459 | // get randr event type | 465 | // get randr event type |
@@ -877,7 +883,7 @@ void Fluxbox::handleEvent(XEvent * const e) { | |||
877 | BScreen *scr = searchScreen(e->xany.window); | 883 | BScreen *scr = searchScreen(e->xany.window); |
878 | if (scr != 0) | 884 | if (scr != 0) |
879 | scr->updateSize(); | 885 | scr->updateSize(); |
880 | } | 886 | } |
881 | #endif // HAVE_RANDR | 887 | #endif // HAVE_RANDR |
882 | 888 | ||
883 | } | 889 | } |