removed KDE configure option
This commit is contained in:
parent
1bcc966153
commit
35d1017959
5 changed files with 6 additions and 36 deletions
|
@ -1,6 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 1.0.1:
|
||||
*07/12/25:
|
||||
* Removed KDE configure option, since it didn't do anything (Mark)
|
||||
configure.in config.h.in main.cc
|
||||
* Added resource session.screen<N>.slit.acceptKdeDockapps: <boolean> (Mark)
|
||||
Screen.cc Slit.cc/hh
|
||||
*07/12/23:
|
||||
|
|
4
README
4
README
|
@ -20,10 +20,6 @@ Compile and Install:
|
|||
|
||||
Configuration options:
|
||||
|
||||
For KDE slitsupport (default, does not require any kde libraries):
|
||||
( Allows kde tray icons to be placed in systray inside the toolbar )
|
||||
./configure --enable-kde
|
||||
|
||||
For Gnome support ( default, does not require any gnome libraries ):
|
||||
./configure --enable-gnome
|
||||
|
||||
|
|
16
configure.in
16
configure.in
|
@ -364,22 +364,6 @@ AC_ARG_ENABLE(
|
|||
AC_DEFINE(TIMEDCACHE, 1, "timed cache")
|
||||
)
|
||||
|
||||
dnl Check KDE
|
||||
AC_MSG_CHECKING([whether to have KDE slit support])
|
||||
AC_ARG_ENABLE(
|
||||
kde,
|
||||
[ --enable-kde KDE slit support ([default=yes])],
|
||||
if test x$enableval = "xyes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(KDE, 1, "KDE slit support")
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
fi,
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(KDE, 1, "KDE slit support")
|
||||
)
|
||||
|
||||
|
||||
dnl Check GNOME
|
||||
|
||||
AC_MSG_CHECKING([whether to have GNOME support])
|
||||
|
|
15
src/Slit.cc
15
src/Slit.cc
|
@ -515,19 +515,12 @@ void Slit::addClient(Window w) {
|
|||
|
||||
XWindowAttributes attrib;
|
||||
|
||||
#ifdef KDE
|
||||
if (screen().isKdeDockapp(w))
|
||||
client->resize(24, 24);
|
||||
else
|
||||
#endif // KDE
|
||||
|
||||
{
|
||||
if (XGetWindowAttributes(disp, client->window(), &attrib)) {
|
||||
client->resize(attrib.width, attrib.height);
|
||||
} else { // set default size if we failed to get window attributes
|
||||
client->resize(64, 64);
|
||||
}
|
||||
}
|
||||
else if (XGetWindowAttributes(disp, client->window(), &attrib))
|
||||
client->resize(attrib.width, attrib.height);
|
||||
else // set default size if we failed to get window attributes
|
||||
client->resize(64, 64);
|
||||
|
||||
// disable border for client window
|
||||
XSetWindowBorderWidth(disp, client->window(), 0);
|
||||
|
|
|
@ -126,11 +126,6 @@ static void showInfo(ostream &ostr) {
|
|||
#endif // HAVE_IMLIB2
|
||||
"IMLIB2"<<endl<<
|
||||
|
||||
#ifndef KDE
|
||||
NOT<<
|
||||
#endif // KDE
|
||||
"KDE"<<endl<<
|
||||
|
||||
#ifndef NLS
|
||||
NOT<<
|
||||
#endif // NLS
|
||||
|
|
Loading…
Reference in a new issue