summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-01-27 20:27:59 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-01-28 11:05:49 +0100
commita9e2f766ccc7761f9aad3dbff7d11e58b7ed906d (patch)
tree2246a256acc9609a6e6301b8883a18a32dda1c6c
parent65f77f5a74f5b96131aaac414fbff4a9ef757578 (diff)
vcl: SalWM is unused
-rw-r--r--vcl/inc/unx/saldisp.hxx14
-rw-r--r--vcl/unx/generic/app/saldisp.cxx3
2 files changed, 0 insertions, 17 deletions
diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx
index 3f080888730d..fce2a68b74e3 100644
--- a/vcl/inc/unx/saldisp.hxx
+++ b/vcl/inc/unx/saldisp.hxx
@@ -86,19 +86,6 @@ typedef enum {
extern "C" srv_vendor_t sal_GetServerVendor( Display *p_display );
-// -=-= SalWM =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-enum SalWM { olwm, // Open Look
- mwm, // Motif
- kwm, // KDE Desktop Environment
- FourDwm, // SGI
- vuewm, // HP
- dtwm, // CDE
- winmgr, // Oracle NC
- twm,
- fvwm, // ...
- pmwm, // SCO
- otherwm };
-
// -=-= SalRGB -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// MSB/Bigendian Sicht (SalColor == RGB, r=0xFF0000, g=0xFF00, b=0xFF)
@@ -294,7 +281,6 @@ protected:
sal_uLong nMaxRequestSize_; // [byte]
srv_vendor_t meServerVendor;
- SalWM eWindowManager_;
// until x bytes
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index a28b3b24ffa1..09bc09150726 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -651,7 +651,6 @@ void SalDisplay::Init()
for( size_t i = 0; i < POINTER_COUNT; i++ )
aPointerCache_[i] = None;
- eWindowManager_ = otherwm;
mpFactory = (AttributeProvider*)NULL;
m_bXinerama = false;
@@ -2268,8 +2267,6 @@ void SalDisplay::PrintInfo() const
XMaxRequestSize(pDisp_) * 4, XExtendedMaxRequestSize(pDisp_) * 4 );
if( GetProperties() != PROPERTY_DEFAULT )
fprintf( stderr, "\tProperties \t0x%lX\n", GetProperties() );
- if( eWindowManager_ != otherwm )
- fprintf( stderr, "\tWindowmanager \t%d\n", eWindowManager_ );
fprintf( stderr, "\tWMName \t%s\n", rtl::OUStringToOString( getWMAdaptor()->getWindowManagerName(), osl_getThreadTextEncoding() ).getStr() );
}
fprintf( stderr, "Screen\n" );