Timothy Pearson 12 years ago
commit 451648d554

@ -68,6 +68,7 @@ option( WITH_XRENDER "Enable xrender support" ${WITH_ALL_OPTIONS} )
option( WITH_XDAMAGE "Enable xdamage support" ${WITH_ALL_OPTIONS} ) option( WITH_XDAMAGE "Enable xdamage support" ${WITH_ALL_OPTIONS} )
option( WITH_XEXT "Enable xext support" ${WITH_ALL_OPTIONS} ) option( WITH_XEXT "Enable xext support" ${WITH_ALL_OPTIONS} )
option( WITH_XTEST "Enable xext support" ${WITH_ALL_OPTIONS} ) option( WITH_XTEST "Enable xext support" ${WITH_ALL_OPTIONS} )
option( WITH_XSCREENSAVER "Enable xscreensaver support" ${WITH_ALL_OPTIONS} )
option( WITH_LIBART "Enable libart support (for SVG icons and wallpapers)" ${WITH_ALL_OPTIONS} ) option( WITH_LIBART "Enable libart support (for SVG icons and wallpapers)" ${WITH_ALL_OPTIONS} )
option( WITH_LIBUSB "Enable control of some mouse models through libusb" ${WITH_ALL_OPTIONS} ) option( WITH_LIBUSB "Enable control of some mouse models through libusb" ${WITH_ALL_OPTIONS} )
option( WITH_LIBRAW1394 "Enable visualization of ieee1394 devices through libraw1394" ${WITH_ALL_OPTIONS} ) option( WITH_LIBRAW1394 "Enable visualization of ieee1394 devices through libraw1394" ${WITH_ALL_OPTIONS} )

@ -144,6 +144,26 @@ if( WITH_XTEST )
endif( ) endif( )
# xscreensaver ()
if( WITH_XSCREENSAVER )
check_library_exists( Xss XScreenSaverQueryInfo "" HAVE_XSSLIB )
if( HAVE_XSSLIB )
pkg_search_module( XSS xscrnsaver )
else( )
check_library_exists( Xext XScreenSaverQueryInfo "" HAVE_XSSLIB )
if( HAVE_XSSLIB )
pkg_search_module( XSS xext )
endif( )
endif( )
check_include_file( X11/extensions/scrnsaver.h HAVE_XSCREENSAVER_H )
if( HAVE_XSSLIB AND HAVE_XSCREENSAVER_H )
set( HAVE_XSCREENSAVER 1 )
else( )
tde_message_fatal( "xscreensaver is requested, but was not found on your system" )
endif( )
endif( )
# GL # GL
if( BUILD_KDESKTOP OR BUILD_KCONTROL OR BUILD_KSCREENSAVER ) if( BUILD_KDESKTOP OR BUILD_KCONTROL OR BUILD_KSCREENSAVER )
check_library_exists( GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL ) check_library_exists( GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL )

@ -24,6 +24,9 @@
// kxkb // kxkb
#cmakedefine HAVE_XTEST 1 #cmakedefine HAVE_XTEST 1
// xscreensaver
#cmakedefine HAVE_XSCREENSAVER 1
// libart // libart
#cmakedefine HAVE_LIBART 1 #cmakedefine HAVE_LIBART 1

@ -40,7 +40,7 @@ you prefer from
install it using the &kcontrolcenter;.</para> install it using the &kcontrolcenter;.</para>
<para>In order to change only the &kmenu; icon you can overwrite the <para>In order to change only the &kmenu; icon you can overwrite the
<filename>kmenu.png</filename> image for every size in an icon theme set. <filename>kmenu.png</filename> image for every size in an icon theme set.
So, for &tde; default icons this would be <filename>$<envar>TDEDIR</envar>/share/icons/default.kde/<replaceable>size</replaceable>/apps/kmenu.png</filename>, So, for &tde; default icons this would be <filename>$<envar>TDEDIR</envar>/share/icons/default.tde/<replaceable>size</replaceable>/apps/kmenu.png</filename>,
where <replaceable>size</replaceable> is one of the sizes included in the where <replaceable>size</replaceable> is one of the sizes included in the
&tde; icon theme. &tde; icon theme.
</para> </para>

@ -231,7 +231,24 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
else else
wRef.call("restore"); wRef.call("restore");
} }
// The --use parameter forces Kate to use a single session window to host
// all opened files. Generally, that parameter works. Yet when a file is
// opened into Kate externally, such as from Konqueror, Kate will pop
// forward (raise) but not grab the focus (show). The following snippet
// resolves that problem. For whatever reason the hide call is needed
// before the raise and show otherwise the snippet fails. Some extra glue
// might be needed. With Kate open:
// "Right-click" on the title bar
// Select Advanced
// Select Special Application Settings (Not Special Window Settings)
// Select the Workarounds tab
// Enable the Focus stealing prevention check box
// Select the Force option
// Select the None option
wRef.call( "hide" );
wRef.call( "raise" ); wRef.call( "raise" );
wRef.call( "show" );
// stop startup notification // stop startup notification
KStartupInfo::appStarted( ); KStartupInfo::appStarted( );

@ -94,6 +94,7 @@ tde_add_tdeinit_executable( ${target} AUTOMOC
kdesktopsettings-static bgnd-static dmctl-static kdesktopsettings-static bgnd-static dmctl-static
konq-shared kutils-shared konq-shared kutils-shared
${XRENDER_LIBRARIES} ${XCURSOR_LIBRARIES} Xext dl ${XRENDER_LIBRARIES} ${XCURSOR_LIBRARIES} Xext dl
${XSS_LIBRARIES}
) )

Loading…
Cancel
Save