|
rofi 2.0.0
|
#include "keyb.h"#include <glib.h>#include "display.h"#include "display-internal.h"#include "view.h"#include "view-internal.h"
Go to the source code of this file.
Functions | |
| void | display_init (const display_proxy *disp_in) |
| int | monitor_active (workarea *mon) |
| void | display_set_input_focus (guint w) |
| void | display_revert_input_focus (void) |
| gboolean | display_setup (GMainLoop *main_loop, NkBindings *bindings) |
| gboolean | display_late_setup (void) |
| void | display_early_cleanup (void) |
| void | display_cleanup (void) |
| void | display_dump_monitor_layout (void) |
| void | display_startup_notification (RofiHelperExecuteContext *context, GSpawnChildSetupFunc *child_setup, gpointer *user_data) |
| guint | display_scale (void) |
| void | display_get_clipboard_data (enum clipboard_type type, ClipboardCb callback, void *user_data) |
| void | display_set_fullscreen_mode (void) |
Variables | |
| static const display_proxy * | proxy |
| void display_cleanup | ( | void | ) |
| void display_dump_monitor_layout | ( | void | ) |
| void display_early_cleanup | ( | void | ) |
Do some early cleanup, like unmapping the surface
Definition at line 30 of file display.c.
References proxy.
Referenced by teardown(), wayland_rofi_view_hide(), and xcb_rofi_view_hide().

| void display_get_clipboard_data | ( | enum clipboard_type | type, |
| ClipboardCb | callback, | ||
| void * | user_data ) |
Definition at line 44 of file display.c.
References proxy.
Referenced by rofi_view_trigger_global_action().

| void display_init | ( | const display_proxy * | disp_in | ) |
Definition at line 13 of file display.c.
References proxy, and view_init().
Referenced by main().


| gboolean display_late_setup | ( | void | ) |
| void display_revert_input_focus | ( | void | ) |
Definition at line 22 of file display.c.
References proxy.
Referenced by xcb_rofi_view_hide().

| guint display_scale | ( | void | ) |
Definition at line 42 of file display.c.
References proxy.
Referenced by _get_icon(), _get_icon(), _get_icon(), dmenu_get_icon(), main(), rofi_icon_fetcher_query(), rofi_icon_fetcher_query_advanced(), script_get_icon(), and wayland_rofi_view_update().

| void display_set_fullscreen_mode | ( | void | ) |
Definition at line 48 of file display.c.
References proxy.
Referenced by wayland___create_window().

| void display_set_input_focus | ( | guint | w | ) |
Definition at line 20 of file display.c.
References proxy.
Referenced by rofi_view_create().

| gboolean display_setup | ( | GMainLoop * | main_loop, |
| NkBindings * | bindings ) |
| void display_startup_notification | ( | RofiHelperExecuteContext * | context, |
| GSpawnChildSetupFunc * | child_setup, | ||
| gpointer * | user_data ) |
| context | The startup notification context for the application to launch |
| child_setup | A pointer to return the child setup function |
| user_data | A pointer to return the child setup function user_data |
Provides the needed child setup function
Definition at line 36 of file display.c.
References proxy.
Referenced by helper_execute().

| int monitor_active | ( | workarea * | mon | ) |
| mon | workarea to be filled in. |
Fills in mon with the information about the monitor rofi should show on.
Definition at line 18 of file display.c.
Referenced by config_sanity_check(), rofi_theme_parse_process_conditionals(), and xcb___create_window().

|
static |
Definition at line 11 of file display.c.
Referenced by __create_window(), display_cleanup(), display_dump_monitor_layout(), display_early_cleanup(), display_get_clipboard_data(), display_init(), display_late_setup(), display_revert_input_focus(), display_scale(), display_set_fullscreen_mode(), display_set_input_focus(), display_setup(), display_startup_notification(), main(), monitor_active(), rofi_view_calculate_window_height(), rofi_view_calculate_window_position(), rofi_view_calculate_window_width(), rofi_view_cleanup(), rofi_view_frame_callback(), rofi_view_get_current_monitor(), rofi_view_get_size(), rofi_view_get_window(), rofi_view_hide(), rofi_view_ping_mouse(), rofi_view_pool_refresh(), rofi_view_queue_redraw(), rofi_view_reload(), rofi_view_set_cursor(), rofi_view_set_size(), rofi_view_set_window_title(), rofi_view_temp_click_to_exit(), rofi_view_temp_configure_notify(), rofi_view_update(), rofi_view_window_update_size(), and view_init().