diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2023-12-01 21:20:22 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2023-12-16 18:18:14 +0200 |
commit | aec0061106cfff96bb21499850c863b0054ecb5f (patch) | |
tree | cb9b6cdf7414490066b5d7ec1cc573656837e9ed /src/kernel/qapplication_x11.cpp | |
parent | 6e5c7efaca8c387084817cf1bea6459f5b4e03c2 (diff) | |
download | tqt3-aec0061106cfff96bb21499850c863b0054ecb5f.tar.gz tqt3-aec0061106cfff96bb21499850c863b0054ecb5f.zip |
Add support for HistoryBackButton and HistoryForwardButton
This resolves TDE/tdebase#421.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/kernel/qapplication_x11.cpp')
-rw-r--r-- | src/kernel/qapplication_x11.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp index de2c62d27..ef52e5a32 100644 --- a/src/kernel/qapplication_x11.cpp +++ b/src/kernel/qapplication_x11.cpp @@ -4228,6 +4228,10 @@ bool TQETWidget::translateMouseEvent( const XEvent *event ) translateWheelEvent( globalPos.x(), globalPos.y(), delta, state, (hor)?Horizontal:Vertical ); } return TRUE; + + // history navigation buttons + case 8: button = HistoryBackButton; break; + case 9: button = HistoryForwardButton; break; } if ( event->type == ButtonPress ) { // mouse button pressed #if defined(Q_OS_IRIX) && defined(QT_TABLET_SUPPORT) |