-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] "window" mode doesn't show fullscreen windows #2071
Comments
You put it in fullscreen using Win+F? or any other way? |
Yes. I've also noticed this bug for windows that are maxemized (On telegram desktop specifically) |
I wonder why it behaves differently here.. maximize is fine. I also don't see anything in the code that could do this. |
Can you do a xprop on a windows that does not show and pastebin the output? |
diff --git a/source/modes/window.c b/source/modes/window.c
index 27798c81..50d78c2a 100644
--- a/source/modes/window.c
+++ b/source/modes/window.c
@@ -296,7 +296,7 @@ window_get_attributes(xcb_window_t w) {
// _NET_WM_STATE_*
static int client_has_state(client *c, xcb_atom_t state) {
for (int i = 0; i < c->states; i++) {
- if ((c->state[i] & state) == state) {
+ if ((c->state[i]) == state) {
return 1;
}
} does this fix it? Not sure why I changed this anymore.. But this might not be right.. (damn lack of clear documentation on xcb_*) |
is also on git, so the rofi-git aur should also be ok to test... |
Here are some of them |
Now it works! Thank you so much! |
Thanks for testing! |
Rofi version (rofi -v)
Version: 1.7.6-dirty
Configuration
https://gist.github.com/sinexl/a69e9c17849af33c307250dfb7b4da5b
Theme
https://gist.github.com/sinexl/a69e9c17849af33c307250dfb7b4da5b
Timing report
No response
Launch command
rofi -no-lazy-grab -normal-window -show window -modi window
Step to reproduce
(Note: for screenshot i also resized rofi to not cover whole screen, although it doesn't affect the result)
Expected behavior
Rofi would show fullscreen windows in list
Actual behavior
Rofi doesn't show any windows that are fullscreen
Additional information
OS: EndeavourOS, WM: AwesomeWM
Using wayland display server protocol
I've checked if the issue exists in the latest stable release
The text was updated successfully, but these errors were encountered: