summaryrefslogtreecommitdiffstats
path: root/ksysv/ksvapplication.cpp
blob: d305712193301a17235808e24f74b30779badd02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// (c) 2000 Peter Putzer

#include <unistd.h>

#include <kwin.h>

#include "ksvapplication.h"

int KSVApplication::newInstance ()
{
  QWidget* main = mainWidget();

  if (main)
    KWin::activateWindow (main->winId());

  return getpid();
}

#include "ksvapplication.moc"