mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-12-26 11:19:49 +01:00
yeeted gdk, doesn't seem to do much
This commit is contained in:
parent
df08ada531
commit
47fa04b5ac
3 changed files with 1 additions and 4 deletions
|
@ -9,7 +9,7 @@ add_compile_options(-Wall -Wextra)
|
|||
find_package(Threads REQUIRED)
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(deps REQUIRED IMPORTED_TARGET glib-2.0 harfbuzz cairo gdk)
|
||||
pkg_check_modules(deps REQUIRED IMPORTED_TARGET glib-2.0 harfbuzz cairo gtk4)
|
||||
|
||||
file(GLOB_RECURSE SRCFILES "src/*.cpp")
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ gpointer handle(gpointer data) {
|
|||
void Events::setThread() {
|
||||
|
||||
// Start a GTK thread so that Cairo does not complain.
|
||||
gdk_threads_enter();
|
||||
|
||||
g_pWindowManager->barThread = g_thread_new("Bar", handle, nullptr);
|
||||
|
||||
|
|
|
@ -52,8 +52,6 @@ int main(int argc, char** argv) {
|
|||
|
||||
xcb_disconnect(g_pWindowManager->DisplayConnection);
|
||||
|
||||
gdk_threads_leave();
|
||||
|
||||
if (const auto err = xcb_connection_has_error(g_pWindowManager->DisplayConnection); err != 0) {
|
||||
Debug::log(CRIT, "Exiting because of error " + std::to_string(err));
|
||||
return err;
|
||||
|
|
Loading…
Reference in a new issue