mirror of
https://github.com/davatorium/rofi.git
synced 2025-07-31 21:59:25 -04:00
Indent fix and small rename
This commit is contained in:
parent
224dadaddd
commit
5b0dd0b141
1 changed files with 15 additions and 15 deletions
|
@ -259,9 +259,9 @@ static int ( *xerror )( Display *, XErrorEvent * );
|
|||
X ( UTF8_STRING ), \
|
||||
X ( _NET_WM_WINDOW_OPACITY )
|
||||
|
||||
enum { EWMH_ATOMS ( ATOM_ENUM ), NETATOMS };
|
||||
enum { EWMH_ATOMS ( ATOM_ENUM ), NUM_NETATOMS };
|
||||
const char *netatom_names[] = { EWMH_ATOMS ( ATOM_CHAR ) };
|
||||
Atom netatoms[NETATOMS];
|
||||
Atom netatoms[NUM_NETATOMS];
|
||||
|
||||
// X error handler
|
||||
static int display_oops ( Display *d, XErrorEvent *ee )
|
||||
|
@ -1977,7 +1977,7 @@ int main ( int argc, char *argv[] )
|
|||
cache_xattr = winlist_new ();
|
||||
|
||||
// X atom values
|
||||
for ( int i = 0; i < NETATOMS; i++ ) {
|
||||
for ( int i = 0; i < NUM_NETATOMS; i++ ) {
|
||||
netatoms[i] = XInternAtom ( display, netatom_names[i], False );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue