Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8e2398bf
Kaydet (Commit)
8e2398bf
authored
Tem 21, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove supportsICCCMPos. Resize working with Sawfish anyway.
üst
1752ee05
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
37 deletions
+0
-37
wmadaptor.hxx
vcl/inc/unx/wmadaptor.hxx
+0
-6
wmadaptor.cxx
vcl/unx/generic/app/wmadaptor.cxx
+0
-21
salframe.cxx
vcl/unx/generic/window/salframe.cxx
+0
-10
No files found.
vcl/inc/unx/wmadaptor.hxx
Dosyayı görüntüle @
8e2398bf
...
@@ -323,12 +323,6 @@ public:
...
@@ -323,12 +323,6 @@ public:
Atom
getAtom
(
WMAtom
eAtom
)
const
Atom
getAtom
(
WMAtom
eAtom
)
const
{
return
m_aWMAtoms
[
eAtom
];
}
{
return
m_aWMAtoms
[
eAtom
];
}
/*
* supports correct positioning
*/
virtual
bool
supportsICCCMPos
()
const
;
int
getPositionWinGravity
()
const
int
getPositionWinGravity
()
const
{
return
m_nWinGravity
;
}
{
return
m_nWinGravity
;
}
int
getInitWinGravity
()
const
int
getInitWinGravity
()
const
...
...
vcl/unx/generic/app/wmadaptor.cxx
Dosyayı görüntüle @
8e2398bf
...
@@ -73,7 +73,6 @@ public:
...
@@ -73,7 +73,6 @@ public:
virtual
void
maximizeFrame
(
X11SalFrame
*
pFrame
,
bool
bHorizontal
=
true
,
bool
bVertical
=
true
)
const
;
virtual
void
maximizeFrame
(
X11SalFrame
*
pFrame
,
bool
bHorizontal
=
true
,
bool
bVertical
=
true
)
const
;
virtual
void
shade
(
X11SalFrame
*
pFrame
,
bool
bToShaded
)
const
;
virtual
void
shade
(
X11SalFrame
*
pFrame
,
bool
bToShaded
)
const
;
virtual
void
setFrameTypeAndDecoration
(
X11SalFrame
*
pFrame
,
WMWindowType
eType
,
int
nDecorationFlags
,
X11SalFrame
*
pTransientFrame
=
NULL
)
const
;
virtual
void
setFrameTypeAndDecoration
(
X11SalFrame
*
pFrame
,
WMWindowType
eType
,
int
nDecorationFlags
,
X11SalFrame
*
pTransientFrame
=
NULL
)
const
;
virtual
bool
supportsICCCMPos
()
const
;
virtual
void
enableAlwaysOnTop
(
X11SalFrame
*
pFrame
,
bool
bEnable
)
const
;
virtual
void
enableAlwaysOnTop
(
X11SalFrame
*
pFrame
,
bool
bEnable
)
const
;
virtual
int
handlePropertyNotify
(
X11SalFrame
*
pFrame
,
XPropertyEvent
*
pEvent
)
const
;
virtual
int
handlePropertyNotify
(
X11SalFrame
*
pFrame
,
XPropertyEvent
*
pEvent
)
const
;
virtual
void
showFullScreen
(
X11SalFrame
*
pFrame
,
bool
bFullScreen
)
const
;
virtual
void
showFullScreen
(
X11SalFrame
*
pFrame
,
bool
bFullScreen
)
const
;
...
@@ -1772,26 +1771,6 @@ void GnomeWMAdaptor::maximizeFrame( X11SalFrame* pFrame, bool bHorizontal, bool
...
@@ -1772,26 +1771,6 @@ void GnomeWMAdaptor::maximizeFrame( X11SalFrame* pFrame, bool bHorizontal, bool
WMAdaptor
::
maximizeFrame
(
pFrame
,
bHorizontal
,
bVertical
);
WMAdaptor
::
maximizeFrame
(
pFrame
,
bHorizontal
,
bVertical
);
}
}
/*
* WMAdaptor::supportsICCCMPos
*/
bool
WMAdaptor
::
supportsICCCMPos
()
const
{
return
m_aWMName
.
EqualsAscii
(
"Sawfish"
);
}
/*
* NetWMAdaptor::supportsICCCMPos
*/
bool
NetWMAdaptor
::
supportsICCCMPos
()
const
{
return
true
;
}
/*
/*
* WMAdaptor::enableAlwaysOnTop
* WMAdaptor::enableAlwaysOnTop
*/
*/
...
...
vcl/unx/generic/window/salframe.cxx
Dosyayı görüntüle @
8e2398bf
...
@@ -1752,16 +1752,6 @@ void X11SalFrame::SetWindowState( const SalFrameState *pState )
...
@@ -1752,16 +1752,6 @@ void X11SalFrame::SetWindowState( const SalFrameState *pState )
aPosSize
.
Move
(
0
,
(
long
)
aGeom
.
nTopDecoration
-
(
long
)
aPosSize
.
Top
()
);
aPosSize
.
Move
(
0
,
(
long
)
aGeom
.
nTopDecoration
-
(
long
)
aPosSize
.
Top
()
);
}
}
// resize with new args
if
(
pWM
->
supportsICCCMPos
())
{
if
(
mpParent
)
aPosSize
.
Move
(
-
mpParent
->
maGeometry
.
nX
,
-
mpParent
->
maGeometry
.
nY
);
SetPosSize
(
aPosSize
);
bDefaultPosition_
=
False
;
}
else
SetPosSize
(
0
,
0
,
aPosSize
.
GetWidth
(),
aPosSize
.
GetHeight
(),
SAL_FRAME_POSSIZE_WIDTH
|
SAL_FRAME_POSSIZE_HEIGHT
);
SetPosSize
(
0
,
0
,
aPosSize
.
GetWidth
(),
aPosSize
.
GetHeight
(),
SAL_FRAME_POSSIZE_WIDTH
|
SAL_FRAME_POSSIZE_HEIGHT
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment