mirror of
https://github.com/polybar/polybar.git
synced 2026-02-14 06:55:24 +00:00
fix(ewmh): Check success of reply
This commit is contained in:
@ -44,7 +44,7 @@ namespace modules {
|
||||
if (!ewmh_util::supports(m_ewmh.get(), m_ewmh->_NET_DESKTOP_VIEWPORT) && m_pinworkspaces) {
|
||||
throw module_error("The WM does not support _NET_DESKTOP_VIEWPORT (required when `pin-workspaces = true`)");
|
||||
} else if (!m_pinworkspaces) {
|
||||
m_monitorsupport = true;
|
||||
m_monitorsupport = false;
|
||||
}
|
||||
|
||||
// Get list of monitors
|
||||
|
||||
Reference in New Issue
Block a user