mirror of
https://github.com/lbonn/rofi
synced 2024-11-27 06:10:30 +00:00
Remove unneeded atom
This commit is contained in:
parent
909241ddfe
commit
057f156009
2 changed files with 3 additions and 4 deletions
|
@ -34,7 +34,6 @@ void window_set_atom_prop ( xcb_connection_t *xcb_connection, xcb_window_t w, xc
|
|||
// usable space on a monitor
|
||||
#define EWMH_ATOMS( X ) \
|
||||
X ( _NET_WM_WINDOW_OPACITY ), \
|
||||
X ( RESOURCE_MANAGER ), \
|
||||
X ( I3_SOCKET_PATH ), \
|
||||
X ( WM_WINDOW_ROLE )
|
||||
|
||||
|
|
|
@ -225,7 +225,7 @@ static void __config_parse_xresource_options ( XrmDatabase xDB )
|
|||
}
|
||||
void config_parse_xresource_options ( xcb_connection_t *xcb_connection, xcb_screen_t *xcb_screen )
|
||||
{
|
||||
char *name = window_get_text_prop ( xcb_connection, xcb_screen->root, netatoms[RESOURCE_MANAGER]);
|
||||
char *name = window_get_text_prop ( xcb_connection, xcb_screen->root, XCB_ATOM_RESOURCE_MANAGER);
|
||||
if ( name ) {
|
||||
// Map Xresource entries to rofi config options.
|
||||
XrmDatabase xDB = XrmGetStringDatabase ( name );
|
||||
|
@ -331,7 +331,7 @@ static void __config_parse_xresource_options_dynamic ( XrmDatabase xDB )
|
|||
|
||||
void config_parse_xresource_options_dynamic ( xcb_connection_t *xcb_connection, xcb_screen_t *xcb_screen )
|
||||
{
|
||||
char *name = window_get_text_prop ( xcb_connection, xcb_screen->root, netatoms[RESOURCE_MANAGER]);
|
||||
char *name = window_get_text_prop ( xcb_connection, xcb_screen->root, XCB_ATOM_RESOURCE_MANAGER);
|
||||
XrmDatabase xDB = XrmGetStringDatabase ( name );
|
||||
__config_parse_xresource_options_dynamic ( xDB );
|
||||
XrmDestroyDatabase ( xDB );
|
||||
|
|
Loading…
Reference in a new issue