bleakgrey / tootle

GTK-based Mastodon client for Linux
GNU General Public License v3.0
401 stars 61 forks source link

Watchlist has a different window type than settings and new toot #101

Closed tastytea closed 5 years ago

tastytea commented 5 years ago

The watchlist dialog looks different than the others. xprop reports _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL for the watchlist, while settings and new toot are set to _NET_WM_WINDOW_TYPE_DIALOG.

screenshot_tootle_dialogs

bleakgrey commented 5 years ago

Ah, so that leads to design inconsistency. I'll tweak that.

bleakgrey commented 5 years ago

Please test the master branch to see if it's displaying as a modal dialog now

tastytea commented 5 years ago

The window type is _NET_WM_WINDOW_TYPE_DIALOG now, but it still looks as before. I found out that the decorations bit in _MOTIF_WM_HINTS is unset, as opposed to the other dialogs.

For settings and new toot, _MOTIF_WM_HINTS is set to 0x1, 0x21, 0x0, 0x0, 0x0, while for the watchlist it is set to 0x2, 0x0, 0x0, 0x0, 0x0.

Here is some more info on _MOTIF_WM_HINTS: http://mathematicalcoffee.blogspot.com/2012/05/automatically-undecorate-maximised.html

bleakgrey commented 5 years ago

What OS are you using?

tastytea commented 5 years ago

Gentoo, with i3-4.15 as window manager.

tastytea commented 5 years ago

The window looks still different, _MOTIF_WM_HINTS is still different.

bleakgrey commented 5 years ago

I literally can't do anything else without breaking it for Juno