Skip to content

Commit

Permalink
fix: --no-window argument not respected
Browse files Browse the repository at this point in the history
  • Loading branch information
friday committed Nov 26, 2022
1 parent e4e77f7 commit c440028
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ulauncher/ui/windows/UlauncherWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# pylint: disable=unused-import
# these imports are needed for Gtk to find widget classes
from ulauncher.ui.ResultWidget import ResultWidget # noqa: F401
from ulauncher.config import PATHS
from ulauncher.config import get_options, PATHS
from ulauncher.ui.ItemNavigation import ItemNavigation
from ulauncher.modes.ModeHandler import ModeHandler
from ulauncher.modes.apps.AppResult import AppResult
Expand Down Expand Up @@ -118,7 +118,9 @@ def __init__(self):
self.get_scale_factor()
)
prefs_btn.set_image(Gtk.Image.new_from_surface(prefs_icon_surface))
self.show_all()
window_frame.show_all()
if not get_options().no_window:
self.show_all()

self.connect("focus-in-event", self.on_focus_in)
self.connect("focus-out-event", self.on_focus_out)
Expand Down

0 comments on commit c440028

Please sign in to comment.