Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pley
kdebase3
kompmgr_use_defaults.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kompmgr_use_defaults.diff of Package kdebase3
--- kwin/kcmkwin/kwinoptions/windows.cpp.sav 2006-09-01 13:22:04.000000000 +0200 +++ kwin/kcmkwin/kwinoptions/windows.cpp 2006-11-09 19:10:48.000000000 +0100 @@ -46,6 +46,7 @@ #include <kprocess.h> #include <qtabwidget.h> +#include <stdlib.h> #include <X11/X.h> #include <X11/Xlib.h> #include <X11/Xutil.h> @@ -1473,6 +1474,8 @@ void KTranslucencyConfig::load( void ) movingWindowOpacity->setEnabled(movingWindowTransparency->isChecked()); dockWindowOpacity->setEnabled(dockWindowTransparency->isChecked()); + if( !QFile::exists( QDir::homeDirPath() + "/.xcompmgrrc" )) + system( "/bin/cp /etc/opt/kde3/share/config/xcompmgrrc $HOME/.xcompmgrrc" ); KConfig conf_(QDir::homeDirPath() + "/.xcompmgrrc"); conf_.setGroup("xcompmgr"); --- kwin/kompmgr/kompmgr.c.sav 2006-11-08 12:03:40.000000000 +0100 +++ kwin/kompmgr/kompmgr.c 2006-11-09 17:55:37.000000000 +0100 @@ -2420,6 +2420,8 @@ loadConfig(char *filename){ strcat(filename, home); strcat(filename, configfile); + if( access( filename, R_OK ) != 0 ) + system( "/bin/cp /etc/opt/kde3/share/config/xcompmgrrc $HOME/.xcompmgrrc" ); } printf("trying '%s' as configfile\n\n", filename);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor