mirror of
https://github.com/davatorium/rofi.git
synced 2025-04-21 17:52:51 -04:00
parent
5c618681c4
commit
29d0c109cb
2 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,7 @@ int window_get_cardinal_prop ( Display *display, Window w, Atom atom, unsigned l
|
|||
X ( _NET_WM_STATE_WITHDRAWN ), \
|
||||
X ( _NET_WM_WINDOW_TYPE ), \
|
||||
X ( _NET_WM_WINDOW_TYPE_DOCK ), \
|
||||
X ( _NET_WM_WINDOW_TYPE_DESKTOP ), \
|
||||
X ( _NET_WM_DESKTOP ), \
|
||||
X ( CLIPBOARD ), \
|
||||
X ( UTF8_STRING ), \
|
||||
|
|
|
@ -409,6 +409,7 @@ static char ** window_mode_get_data ( unsigned int *length, Switcher *sw )
|
|||
if ( ( c = window_client ( display, wins[i] ) )
|
||||
&& !c->xattr.override_redirect
|
||||
&& !client_has_window_type ( c, netatoms[_NET_WM_WINDOW_TYPE_DOCK] )
|
||||
&& !client_has_window_type ( c, netatoms[_NET_WM_WINDOW_TYPE_DESKTOP] )
|
||||
&& !client_has_state ( c, netatoms[_NET_WM_STATE_SKIP_PAGER] )
|
||||
&& !client_has_state ( c, netatoms[_NET_WM_STATE_SKIP_TASKBAR] ) ) {
|
||||
classfield = MAX ( classfield, strlen ( c->class ) );
|
||||
|
|
Loading…
Add table
Reference in a new issue