all repos — fluxbox @ 4e6017860451e8fab450c1ef23135f23624c8eb5

custom fork of the fluxbox windowmanager

accessor for lock modifiers
fluxgen fluxgen
commit

4e6017860451e8fab450c1ef23135f23624c8eb5

parent

b2ba9c135591cce3fd28c23cbac2b0dc153ca242

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M src/FbTk/KeyUtil.hhsrc/FbTk/KeyUtil.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: KeyUtil.hh,v 1.5 2003/12/30 18:10:43 fluxgen Exp $ +// $Id: KeyUtil.hh,v 1.6 2003/12/31 00:39:26 fluxgen Exp $ #ifndef FBTK_KEYUTIL_HH #define FBTK_KEYUTIL_HH

@@ -75,7 +75,9 @@ Convert the specified key into appropriate modifier mask

@return corresponding modifier mask */ static unsigned int keycodeToModmask(unsigned int keycode); - + int numlock() const { return m_numlock; } + int capslock() const { return m_capslock; } + int scrolllock() const { return m_scrolllock; } private: void loadModmap();