Skip to content

When a window is fullscreen, notification popups cause the panel to get raised

In xfce4-notifyd 0.8.0, I removed override-redirect for notification windows due to apps/xfce4-notifyd#7 (closed).

This seems to be working mostly ok (aside from on some other WMs: apps/xfce4-notifyd#91 (closed)), but now something odd happens with xfwm4: if I have a window set to fullscreen (say vlc, or even xfce4-terminal), and a notification pops up, xfce4-panel is also raised to the top, above the fullscreen window.

It seems strange to me that popping up a window of type NOTIFICATION should cause the stacking of other windows to change.

For reference, window properties:

_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 0, 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_STICK
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x960bb500
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_SKIP_TASKBAR
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: False
		Initial state is Normal State.
		window id # of group leader: 0x1800001
_GTK_THEME_VARIANT(UTF8_STRING) = "dark"
XdndAware(ATOM) = BITMAP
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NOTIFICATION
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 25166012, 25166013
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x18000bb
WM_CLIENT_LEADER(WINDOW): window id # 0x1800001
_NET_WM_PID(CARDINAL) = 4004846
WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
WM_CLIENT_MACHINE(STRING) = "neutrino"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified location: 0, 0
		program specified minimum size: 92 by 120
		program specified maximum size: 92 by 120
		program specified resize increment: 2 by 2
		program specified base size: 0 by 0
		window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "xfce4-notifyd", "Xfce4-notifyd"
WM_ICON_NAME(STRING) = "xfce4-notifyd"
_NET_WM_ICON_NAME(UTF8_STRING) = "xfce4-notifyd"
WM_NAME(STRING) = "xfce4-notifyd"
_NET_WM_NAME(UTF8_STRING) = "xfce4-notifyd"

and xwininfo output:

xwininfo: Window id: 0x18000ba "xfce4-notifyd"

  Absolute upper-left X:  2588
  Absolute upper-left Y:  74
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 92
  Height: 120
  Depth: 32
  Visual: 0x791
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x1800002 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +2588+74  -32+74  -32-1611  +2588-1611
  -geometry 46x60-32+74