diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-10 05:54:12 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-10 05:54:12 +0000 |
| commit | 9d5865a1603733e62fda7c8d61024cb05bf6792c (patch) | |
| tree | 3a2e3286b789104457b3297c4ed4873bb5b05ac7 /src/bbwindow.cc | |
| parent | 209b7f212d18078c82f0faab4094dcd7d8e36850 (diff) | |
support for the shape extension works!
Diffstat (limited to 'src/bbwindow.cc')
| -rw-r--r-- | src/bbwindow.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bbwindow.cc b/src/bbwindow.cc index 54acb37b..82c31aa3 100644 --- a/src/bbwindow.cc +++ b/src/bbwindow.cc @@ -264,7 +264,7 @@ BlackboxWindow::BlackboxWindow(Blackbox *b, Window w, BScreen *s) { XUngrabServer(otk::OBDisplay::display); #ifdef SHAPE - if (blackbox->hasShapeExtensions() && flags.shaped) + if (otk::OBDisplay::shape() && flags.shaped) configureShape(); #endif // SHAPE @@ -511,7 +511,7 @@ void BlackboxWindow::associateClientWindow(void) { XMapSubwindows(otk::OBDisplay::display, frame.plate); #ifdef SHAPE - if (blackbox->hasShapeExtensions()) { + if (otk::OBDisplay::shape()) { XShapeSelectInput(otk::OBDisplay::display, client.window, ShapeNotifyMask); @@ -1601,7 +1601,7 @@ void BlackboxWindow::configure(int dx, int dy, frame.rect.bottom() - frame.margin.bottom); #ifdef SHAPE - if (blackbox->hasShapeExtensions() && flags.shaped) { + if (otk::OBDisplay::shape() && flags.shaped) { configureShape(); } #endif // SHAPE @@ -3848,7 +3848,7 @@ void BlackboxWindow::leaveNotifyEvent(const XCrossingEvent*) { #ifdef SHAPE void BlackboxWindow::shapeEvent(XShapeEvent *e) { - if (blackbox->hasShapeExtensions()) { + if (otk::OBDisplay::shape()) { if (! e->shaped && flags.shaped) { clearShape(); flags.shaped = False; |
