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
50386403
Kaydet (Commit)
50386403
authored
Kas 30, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
gtk3: implement GetIndicatorState
Change-Id: I006c739a9dc876dd9ec83375f76fd1343b39557a
üst
a4e58b50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
gtksalframe.cxx
vcl/unx/gtk/gtksalframe.cxx
+12
-2
No files found.
vcl/unx/gtk/gtksalframe.cxx
Dosyayı görüntüle @
50386403
...
...
@@ -2770,8 +2770,18 @@ KeyIndicatorState GtkSalFrame::GetIndicatorState()
#if !GTK_CHECK_VERSION(3,0,0)
return
GetGtkSalData
()
->
GetGtkDisplay
()
->
GetIndicatorState
();
#else
g_warning
(
"missing get indicator state"
);
return
KeyIndicatorState
::
NONE
;
KeyIndicatorState
nState
=
KeyIndicatorState
::
NONE
;
GdkKeymap
*
pKeyMap
=
gdk_keymap_get_for_display
(
getGdkDisplay
());
if
(
gdk_keymap_get_caps_lock_state
(
pKeyMap
))
nState
|=
KeyIndicatorState
::
CAPSLOCK
;
if
(
gdk_keymap_get_num_lock_state
(
pKeyMap
))
nState
|=
KeyIndicatorState
::
NUMLOCK
;
if
(
gdk_keymap_get_scroll_lock_state
(
pKeyMap
))
nState
|=
KeyIndicatorState
::
SCROLLLOCK
;
return
nState
;
#endif
}
...
...
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