Beispiel #1
0
def quakeconsole_show():
    geo = runtime.quake_console_geometry.copy()
    geo.x += current_screen().x
    configure_window(runtime.quake_console, geo)
    stack_window(runtime.quake_console, StackMode.Above)
    runtime.con.core.MapWindow(runtime.quake_console)
    current_workspace().update_focus(None)
    set_input_focus(runtime.quake_console, runtime.quake_console_geometry, True)
    runtime.quake_console_toggle = True
Beispiel #2
0
 def focus(self, ignore_follow=False):
     self.border_color = runtime.focused_color
     self.update_border_color()
     set_input_focus(self.id, self.geo_virt, ignore_follow)