[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kstart
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2003-04-17 9:35:58
[Download RAW message or body]

CVS commit by lunakl: 

Part for #22088.


  M +11 -4     kstart.cpp   1.44


--- kdebase/kstart/kstart.cpp  #1.43:1.44
@@ -205,5 +205,8 @@ static KCmdLineOptions options[] =
   { "activate", I18N_NOOP("Jump to the window even if it is started on a \n"
                           "different virtual desktop"), 0 },
-  { "ontop", I18N_NOOP("Make the window always stay on top of any other window"), 0 },
+  { "ontop", 0, 0 },
+  { "keepabove", I18N_NOOP("Try to keep the window above other windows"), 0 },
+  { "onbottom", 0, 0 },
+  { "keepbelow", I18N_NOOP("Try to keep the window below other windows"), 0 },
   { "skiptaskbar", I18N_NOOP("The window does not get an entry in the taskbar"), 0 },
   { "skippager", I18N_NOOP("The window does not get an entry on the pager"), 0 },
@@ -273,8 +276,12 @@ int main( int argc, char *argv[] )
   }
 
-  if ( args->isSet( "ontop" ) ) {
-      state |= NET::StaysOnTop;
-      mask |= NET::StaysOnTop;
+  if ( args->isSet( "keepabove" ) ) {
+      state |= NET::KeepAbove;
+      mask |= NET::KeepAbove;
+  } else if ( args->isSet( "keepbelow" ) ) {
+      state |= NET::KeepBelow;
+      mask |= NET::KeepBelow;
   }
+  
   if ( args->isSet( "skiptaskbar" ) ) {
       state |= NET::SkipTaskbar;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic