Drop break point

Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
gtk4
Viktar Lukashonak 2024-01-08 22:26:13 +03:00
parent aa95c04842
commit 158767b5b4
No known key found for this signature in database
GPG Key ID: 08A413AA87200A6F
1 changed files with 0 additions and 4 deletions

View File

@ -678,10 +678,6 @@ void waybar::Bar::onMap() {
* Obtain a pointer to the custom layer surface for modules that require it (idle_inhibitor). * Obtain a pointer to the custom layer surface for modules that require it (idle_inhibitor).
*/ */
gdk_surface_ = window.get_surface(); gdk_surface_ = window.get_surface();
if (gdk_surface_)
spdlog::info("Pointer is defined\n");
else
spdlog::info("Pointer is null\n");
surface = gdk_wayland_surface_get_wl_surface(gdk_surface_->gobj()); surface = gdk_wayland_surface_get_wl_surface(gdk_surface_->gobj());
configureGlobalOffset(gdk_surface_->get_width(), gdk_surface_->get_height()); configureGlobalOffset(gdk_surface_->get_width(), gdk_surface_->get_height());
gdk_surface_->signal_layout().connect(sigc::mem_fun(*this, &Bar::onConfigure)); gdk_surface_->signal_layout().connect(sigc::mem_fun(*this, &Bar::onConfigure));