make moving of maximized windows off by default. have had this patch for a
while and talked about it with Seli on March 9th but never got around to committing it. after being asked about it _again_ i decided to do `cvs ci` this allows well designed window decorations to allow the user to jam the mouse into the corner of the screen and close the window. svn path=/trunk/kdebase/kwin/; revision=405269
This commit is contained in:
parent
7abbaf3bc8
commit
86594e3fe8
2 changed files with 3 additions and 3 deletions
|
@ -1050,7 +1050,7 @@ void KMovingConfig::load( void )
|
|||
setPlacement(SMART_PLACEMENT);
|
||||
// }
|
||||
|
||||
setMoveResizeMaximized(config->readBoolEntry(KWIN_MOVE_RESIZE_MAXIMIZED, true));
|
||||
setMoveResizeMaximized(config->readBoolEntry(KWIN_MOVE_RESIZE_MAXIMIZED, false));
|
||||
|
||||
int v;
|
||||
|
||||
|
@ -1134,7 +1134,7 @@ void KMovingConfig::defaults()
|
|||
setResizeOpaque(RESIZE_TRANSPARENT);
|
||||
setGeometryTip(false);
|
||||
setPlacement(SMART_PLACEMENT);
|
||||
setMoveResizeMaximized(true);
|
||||
setMoveResizeMaximized(false);
|
||||
|
||||
//copied from kcontrol/konq/kwindesktop, aleXXX
|
||||
setWindowSnapZone(KWM_WNDW_SNAP_ZONE_DEFAULT);
|
||||
|
|
|
@ -205,7 +205,7 @@ unsigned long KDecorationOptionsPrivate::updateKWinSettings( KConfig* config )
|
|||
|
||||
config->setGroup( "Windows" );
|
||||
bool old_move_resize_maximized_windows = move_resize_maximized_windows;
|
||||
move_resize_maximized_windows = config->readBoolEntry( "MoveResizeMaximizedWindows", true );
|
||||
move_resize_maximized_windows = config->readBoolEntry( "MoveResizeMaximizedWindows", false );
|
||||
if( old_move_resize_maximized_windows != move_resize_maximized_windows )
|
||||
changed |= SettingBorder;
|
||||
|
||||
|
|
Loading…
Reference in a new issue