diff options
Diffstat (limited to 'kwin/data')
-rw-r--r-- | kwin/data/update_window_settings.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kwin/data/update_window_settings.cpp b/kwin/data/update_window_settings.cpp index 0a39850d7..ce4a40a59 100644 --- a/kwin/data/update_window_settings.cpp +++ b/kwin/data/update_window_settings.cpp @@ -24,7 +24,7 @@ struct SessionInfo TQCString resourceName; TQCString resourceClass; - TQRect geometry; + TQRect tqgeometry; TQRect restore; TQRect fsrestore; int maximized; @@ -76,7 +76,7 @@ void loadFakeSessionInfo( KConfig* config ) info->resourceName = config->readEntry( TQString("resourceName")+n ).latin1(); info->resourceClass = config->readEntry( TQString("resourceClass")+n ).lower().latin1(); info->wmClientMachine = config->readEntry( TQString("clientMachine")+n ).latin1(); - info->geometry = config->readRectEntry( TQString("geometry")+n ); + info->tqgeometry = config->readRectEntry( TQString("tqgeometry")+n ); info->restore = config->readRectEntry( TQString("restore")+n ); info->fsrestore = config->readRectEntry( TQString("fsrestore")+n ); info->maximized = config->readNumEntry( TQString("maximize")+n, 0 ); @@ -122,9 +122,9 @@ void writeRules( KConfig& cfg ) cfg.writeEntry( "types", NET::NormalMask ); else cfg.writeEntry( "types", 1 << info->windowType ); - cfg.writeEntry( "position", info->geometry.topLeft()); + cfg.writeEntry( "position", info->tqgeometry.topLeft()); cfg.writeEntry( "positionrule", 4 ); // 4 == remember - cfg.writeEntry( "size", info->geometry.size()); + cfg.writeEntry( "size", info->tqgeometry.size()); cfg.writeEntry( "sizerule", 4 ); cfg.writeEntry( "maximizevert", info->maximized & NET::MaxVert ); cfg.writeEntry( "maximizevertrule", 4 ); |