Fix autostart

pull/1/head
Timothy Pearson 12 years ago
parent 7644528b7c
commit 128f9d21e7

@ -21,3 +21,6 @@ messages:
$(XGETTEXT) $(kerberostray_SOURCES) -o $(podir)/kerberostray.pot $(XGETTEXT) $(kerberostray_SOURCES) -o $(podir)/kerberostray.pot
xdg_apps_DATA = kerberostray.desktop xdg_apps_DATA = kerberostray.desktop
autostart_DATA = kerberostray.desktop
autostartdir = $(datadir)/autostart

@ -41,6 +41,9 @@ int main(int argc, char *argv[])
TDEApplication app; TDEApplication app;
// We handle autostart via standard autostart-enabled .desktop file instead of the session manager
app.disableSessionManagement();
TopLevel toplevel; TopLevel toplevel;
KWin::setSystemTrayWindowFor(toplevel.winId(), 0); KWin::setSystemTrayWindowFor(toplevel.winId(), 0);
toplevel.show(); toplevel.show();

Loading…
Cancel
Save