diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 | 
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 | 
| commit | fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch) | |
| tree | 9eda848e56fcb862fdfdf479adeccd95b6fe387a /kwin/utils.cpp | |
| parent | 02f67d0e1355b79b1806746efb0f2f640e57f13d (diff) | |
| download | tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip | |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/utils.cpp')
| -rw-r--r-- | kwin/utils.cpp | 18 | 
1 files changed, 9 insertions, 9 deletions
| diff --git a/kwin/utils.cpp b/kwin/utils.cpp index cfbf3e994..33bdd6299 100644 --- a/kwin/utils.cpp +++ b/kwin/utils.cpp @@ -43,11 +43,11 @@ namespace KWinInternal  // used to store the return values of  // XShapeQueryExtension. -// Necessary since tqshaped window are an extension to X -int Shape::kwin_tqshape_version = 0; -int Shape::kwin_tqshape_event = 0; +// Necessary since shaped window are an extension to X +int Shape::kwin_shape_version = 0; +int Shape::kwin_shape_event = 0; -// does the window w  need a tqshape combine tqmask around it? +// does the window w  need a shape combine mask around it?  bool Shape::hasShape( WId w)      {      int xws, yws, xbs, ybs; @@ -61,21 +61,21 @@ bool Shape::hasShape( WId w)      return boundingShaped != 0;      } -int Shape::tqshapeEvent() +int Shape::shapeEvent()      { -    return kwin_tqshape_event; +    return kwin_shape_event;      }  void Shape::init()      { -    kwin_tqshape_version = 0; +    kwin_shape_version = 0;      int dummy; -    if( !XShapeQueryExtension(qt_xdisplay(), &kwin_tqshape_event, &dummy)) +    if( !XShapeQueryExtension(qt_xdisplay(), &kwin_shape_event, &dummy))          return;      int major, minor;      if( !XShapeQueryVersion( qt_xdisplay(), &major, &minor ))          return; -    kwin_tqshape_version = major * 0x10 + minor; +    kwin_shape_version = major * 0x10 + minor;      }  void Motif::readFlags( WId w, bool& noborder, bool& resize, bool& move, | 
