diff options
author | Timothy Pearson <[email protected]> | 2011-11-07 20:26:07 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-07 20:26:07 -0600 |
commit | 43d99cc2477266cb9072e179137f0e8485370b3d (patch) | |
tree | 0d4d47e5497a1a1465edf8263f57b72725577239 /kwin/utils.cpp | |
parent | 6354e6b3babad3ed0f5e314735bbbc01d1988eb2 (diff) | |
download | tdebase-43d99cc2477266cb9072e179137f0e8485370b3d.tar.gz tdebase-43d99cc2477266cb9072e179137f0e8485370b3d.zip |
Rename kwin to twin (part 1 of 2)
Diffstat (limited to 'kwin/utils.cpp')
-rw-r--r-- | kwin/utils.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kwin/utils.cpp b/kwin/utils.cpp index de422f40e..608b4bed3 100644 --- a/kwin/utils.cpp +++ b/kwin/utils.cpp @@ -47,8 +47,8 @@ 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; +int Shape::twin_tqshape_version = 0; +int Shape::twin_tqshape_event = 0; // does the window w need a tqshape combine mask around it? bool Shape::hasShape( WId w) @@ -66,19 +66,19 @@ bool Shape::hasShape( WId w) int Shape::tqshapeEvent() { - return kwin_tqshape_event; + return twin_tqshape_event; } void Shape::init() { - kwin_tqshape_version = 0; + twin_tqshape_version = 0; int dummy; - if( !XShapeQueryExtension(qt_xdisplay(), &kwin_tqshape_event, &dummy)) + if( !XShapeQueryExtension(qt_xdisplay(), &twin_tqshape_event, &dummy)) return; int major, minor; if( !XShapeQueryVersion( qt_xdisplay(), &major, &minor )) return; - kwin_tqshape_version = major * 0x10 + minor; + twin_tqshape_version = major * 0x10 + minor; } void Motif::readFlags( WId w, bool& noborder, bool& resize, bool& move, @@ -263,7 +263,7 @@ void updateXTime() if ( !w ) w = new TQWidget; long data = 1; - XChangeProperty(qt_xdisplay(), w->winId(), atoms->kwin_running, atoms->kwin_running, 32, + XChangeProperty(qt_xdisplay(), w->winId(), atoms->twin_running, atoms->twin_running, 32, PropModeAppend, (unsigned char*) &data, 1); next_x_time = CurrentTime; XEvent dummy; |