summaryrefslogtreecommitdiffstats
path: root/ksysv/ksvapplication.cpp
blob: d45278cfabc0dbaeff8599a89a7df68cf7d9fb09 (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 ()
{
  TQWidget* main = mainWidget();

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

  return getpid();
}

#include "ksvapplication.moc"