9 Commits
Author SHA1 Message Date
Mavroudis Chatzilazaridis f7d7b85771 gui: Fix HighDpi deprecation warnings on Qt6 2024-04-28 23:55:19 +03:00
Mavroudis Chatzilazaridis 9fc5b7911b gui: Suppress qdbusxml2cpp warnings 2024-04-28 23:55:19 +03:00
Mavroudis Chatzilazaridis 7f22ea9568 gui: Port to Qt6 2024-04-28 23:55:12 +03:00
Mavroudis Chatzilazaridis c83ea95e52 gui: Get root window using xcb_get_geometry() 2024-04-27 21:08:56 +03:00
Mavroudis Chatzilazaridis b57ddc292c cmake: Make build system Qt version agnostic 2024-04-27 21:08:50 +03:00
Mavroudis Chatzilazaridis 3100b9276c gui: Update KStatusNotifierItem to latest version
- Remove KWindowSystem related code as ckb-next does not use it
- Revert commit 294970fd3ad1 ("[kstatusnotifieritem] Replace
  setAssociatedWidget with setAssociatedWindow") as show/hide does not
  work with a QOpenGLWidget parent
- Disable standard actions (Quit, Restore) as ckb-next provides its own

This also includes a vendored libdbusmenu-qt which will be used with Qt6
2024-04-27 19:19:04 +03:00
Mavroudis Chatzilazaridis 6e6517a876 gui: Replace deprecated QWheelEvent::delta()
This method has been deprecated since Qt5 and removed in Qt6
2024-04-27 17:28:12 +03:00
Mavroudis Chatzilazaridis c93e95104a gui: Add error handling for xcb_connect
This is needed because xcb_connect returns a valid value even if it fails.
Therefore we need to use xcb_connection_has_error() to check for failure.

Resolves #1000
2023-10-21 21:17:37 +03:00
Mavroudis Chatzilaridis a256e1b984 Add '_' to the regex for the macro string parser
This fixes a bug in the macro functionality when using a backslash
on ISO keyboards. Prior to this the string parser would think keys with
an underscore were invalid.

Resolves: #905
2022-11-11 19:34:33 +02:00