global typo fix
svn path=/trunk/KDE/kdebase/workspace/; revision=922431
This commit is contained in:
parent
5b89fb86ed
commit
a604e4a60d
6 changed files with 6 additions and 6 deletions
|
@ -116,7 +116,7 @@ namespace KWin
|
||||||
Since at this time it's known that the new window doesn't belong
|
Since at this time it's known that the new window doesn't belong
|
||||||
to any existing application (better said, the application doesn't
|
to any existing application (better said, the application doesn't
|
||||||
have any other window mapped), it is either the very first window
|
have any other window mapped), it is either the very first window
|
||||||
of the application, or its the only window of the application
|
of the application, or it is the only window of the application
|
||||||
that was hidden before. The latter case is handled by removing
|
that was hidden before. The latter case is handled by removing
|
||||||
the property from windows before withdrawing them, making
|
the property from windows before withdrawing them, making
|
||||||
the timestamp empty for next mapping of the window. In the sooner
|
the timestamp empty for next mapping of the window. In the sooner
|
||||||
|
|
|
@ -744,7 +744,7 @@ bool Client::mapRequestEvent( XMapRequestEvent* e )
|
||||||
{
|
{
|
||||||
// Special support for the save-set feature, which is a bit broken.
|
// Special support for the save-set feature, which is a bit broken.
|
||||||
// If there's a window from one client embedded in another one,
|
// If there's a window from one client embedded in another one,
|
||||||
// e.g. using XEMBED, and the embedder suddenly looses its X connection,
|
// e.g. using XEMBED, and the embedder suddenly loses its X connection,
|
||||||
// save-set will reparent the embedded window to its closest ancestor
|
// save-set will reparent the embedded window to its closest ancestor
|
||||||
// that will remains. Unfortunately, with reparenting window managers,
|
// that will remains. Unfortunately, with reparenting window managers,
|
||||||
// this is not the root window, but the frame (or in KWin's case,
|
// this is not the root window, but the frame (or in KWin's case,
|
||||||
|
|
|
@ -2267,7 +2267,7 @@ bool Client::isFullScreenable( bool fullscreen_hack ) const
|
||||||
return isNormalWindow();
|
return isNormalWindow();
|
||||||
if( rules()->checkStrictGeometry( false ))
|
if( rules()->checkStrictGeometry( false ))
|
||||||
{
|
{
|
||||||
// the app wouldn't fit exactly fullscreen geometry due its strict geometry requirements
|
// the app wouldn't fit exactly fullscreen geometry due to its strict geometry requirements
|
||||||
QRect fsarea = workspace()->clientArea( FullScreenArea, this );
|
QRect fsarea = workspace()->clientArea( FullScreenArea, this );
|
||||||
if( sizeForClientSize( fsarea.size(), SizemodeAny, true ) != fsarea.size())
|
if( sizeForClientSize( fsarea.size(), SizemodeAny, true ) != fsarea.size())
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -1050,7 +1050,7 @@ void Client::checkGroup( Group* set_group, bool force )
|
||||||
}
|
}
|
||||||
else // Not transient without a group, put it in its client leader group.
|
else // Not transient without a group, put it in its client leader group.
|
||||||
{ // This might be stupid if grouping was used for e.g. taskbar grouping
|
{ // This might be stupid if grouping was used for e.g. taskbar grouping
|
||||||
// or minimizing together the whole group, but as long as its used
|
// or minimizing together the whole group, but as long as it is used
|
||||||
// only for dialogs it's better to keep windows from one app in one group.
|
// only for dialogs it's better to keep windows from one app in one group.
|
||||||
Group* new_group = workspace()->findClientLeaderGroup( this );
|
Group* new_group = workspace()->findClientLeaderGroup( this );
|
||||||
if( in_group != NULL && in_group != new_group )
|
if( in_group != NULL && in_group != new_group )
|
||||||
|
|
|
@ -549,7 +549,7 @@ void KWinCompositingConfig::save()
|
||||||
mPreviousConfig = config.entryMap();
|
mPreviousConfig = config.entryMap();
|
||||||
|
|
||||||
// bah; tab content being dependent on the other is really bad; and
|
// bah; tab content being dependent on the other is really bad; and
|
||||||
// deprecated in the HIG for a reason. Its confusing!
|
// deprecated in the HIG for a reason. It is confusing!
|
||||||
// Make sure we only call save on each tab once; as they are stateful due to the revert concept
|
// Make sure we only call save on each tab once; as they are stateful due to the revert concept
|
||||||
if ( ui.tabWidget->currentIndex() == 0 ) // "General" tab was active
|
if ( ui.tabWidget->currentIndex() == 0 ) // "General" tab was active
|
||||||
{
|
{
|
||||||
|
|
|
@ -2433,7 +2433,7 @@ void Workspace::setupTopMenuHandling()
|
||||||
int Workspace::topMenuHeight() const
|
int Workspace::topMenuHeight() const
|
||||||
{
|
{
|
||||||
if( topmenu_height == 0 )
|
if( topmenu_height == 0 )
|
||||||
{ // Simply create a dummy menubar and use its preffered height as the menu height
|
{ // Simply create a dummy menubar and use its preferred height as the menu height
|
||||||
KMenuBar tmpmenu;
|
KMenuBar tmpmenu;
|
||||||
tmpmenu.addAction( "dummy" );
|
tmpmenu.addAction( "dummy" );
|
||||||
topmenu_height = tmpmenu.sizeHint().height();
|
topmenu_height = tmpmenu.sizeHint().height();
|
||||||
|
|
Loading…
Reference in a new issue