libqtile/manager.py
def cmd_focus_by_click(self, e):
        """Bring a window to the front

        Parameters
        ==========
        e : xcb event
            Click event used to determine window to focus
        """
        wnd = e.child or e.root

        # Additional option for config.py
        # Brings clicked window to front
        if self.config.bring_front_click:
            self.conn.conn.core.ConfigureWindow(
                wnd,
                xcffib.xproto.ConfigWindow.StackMode,
                [xcffib.xproto.StackMode.Above]
            )

        window = self.windowMap.get(wnd)
        if window and not window.window.get_property('QTILE_INTERNAL'):
            self.currentGroup.focus(self.windowMap.get(wnd), False)
            self.windowMap.get(wnd).focus(False)

        self.conn.conn.core.AllowEvents(xcffib.xproto.Allow.ReplayPointer, e.time)
        self.conn.conn.flush()
Bring a window to the front

        Parameters
        ==========
        e : xcb event
            Click event used to determine window to focus
        
Bring a window to the front
Parameters

e : xcb event
Click event used to determine window to focus
Bring a window to the front Parameters e : xcb event Click event used to determine window to focus
def cmd_focus_by_click(self, e):
        wnd = e.child or e.root
        if self.config.bring_front_click:
            self.conn.conn.core.ConfigureWindow(
                wnd,
                xcffib.xproto.ConfigWindow.StackMode,
                [xcffib.xproto.StackMode.Above]
            )
        window = self.windowMap.get(wnd)
        if window and not window.window.get_property('QTILE_INTERNAL'):
            self.currentGroup.focus(self.windowMap.get(wnd), False)
            self.windowMap.get(wnd).focus(False)
        self.conn.conn.core.AllowEvents(xcffib.xproto.Allow.ReplayPointer, e.time)
        self.conn.conn.flush()
def cmd_focus_by_click ( self , e ) : wnd = e . child or e . root if self . config . bring_front_click : self . conn . conn . core . ConfigureWindow ( wnd , xcffib . xproto . ConfigWindow . StackMode , [ xcffib . xproto . StackMode . Above ] ) window = self . windowMap . get ( wnd ) if window and not window . window . get_property ( 'QTILE_INTERNAL' ) : self . currentGroup . focus ( self . windowMap . get ( wnd ) , False ) self . windowMap . get ( wnd ) . focus ( False ) self . conn . conn . core . AllowEvents ( xcffib . xproto . Allow . ReplayPointer , e . time ) self . conn . conn . flush ( )
Bring a window to the front
Parameters
Bring a window to the front Parameters
"""Bring a window to the front

        Parameters
        ==========
        e : xcb event
            Click event used to determine window to focus
        """ # Additional option for config.py # Brings clicked window to front
self
e