aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-05-10 03:20:26 +0100
committerVaxry <[email protected]>2024-05-10 03:20:26 +0100
commit337422911895bb55099e00208bff929651dcb5d2 (patch)
tree246b8e73d49a042656440a72a8d1aa476ea9c561
parent2ba6bb69c4b455ff6327596a63bf1785d0910d2c (diff)
downloadHyprland-337422911895bb55099e00208bff929651dcb5d2.tar.gz
Hyprland-337422911895bb55099e00208bff929651dcb5d2.zip
core: remove unused includes and fix warn
-rw-r--r--src/includes.hpp4
-rw-r--r--src/managers/KeybindManager.cpp2
2 files changed, 0 insertions, 6 deletions
diff --git a/src/includes.hpp b/src/includes.hpp
index eb01f4a1..844a9173 100644
--- a/src/includes.hpp
+++ b/src/includes.hpp
@@ -44,23 +44,19 @@ extern "C" {
#include <wlr/types/wlr_drm_lease_v1.h>
#include <wlr/types/wlr_drm.h>
#include <wlr/types/wlr_linux_dmabuf_v1.h>
-#include <wlr/types/wlr_gamma_control_v1.h>
#include <wlr/types/wlr_input_device.h>
#include <wlr/types/wlr_keyboard.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/types/wlr_output.h>
-#include <wlr/types/wlr_output_management_v1.h>
#include <wlr/types/wlr_pointer.h>
#include <wlr/types/wlr_primary_selection.h>
#include <wlr/types/wlr_primary_selection_v1.h>
-#include <wlr/types/wlr_screencopy_v1.h>
#include <wlr/types/wlr_seat.h>
#include <wlr/types/wlr_viewporter.h>
#include <wlr/types/wlr_xdg_output_v1.h>
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/types/wlr_subcompositor.h>
#include <wlr/types/wlr_damage_ring.h>
-#include <wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h>
#include <wlr/util/log.h>
#include <wlr/util/region.h>
#include <wlr/util/edges.h>
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp
index f06dd703..15f667f0 100644
--- a/src/managers/KeybindManager.cpp
+++ b/src/managers/KeybindManager.cpp
@@ -1902,8 +1902,6 @@ void CKeybindManager::pass(std::string regexp) {
return;
}
- const auto PLASTSRF = g_pCompositor->m_pLastFocus;
-
const auto KEYBOARD = wlr_seat_get_keyboard(g_pCompositor->m_sSeat.seat);
if (!KEYBOARD) {