elementary / wingpanel

Stylish top panel that holds indicators and spawns an application launcher
https://elementary.io
GNU General Public License v3.0
136 stars 45 forks source link

Go opaque when dragging window underneath #285

Open cassidyjames opened 4 years ago

cassidyjames commented 4 years ago

If #235 is merged, it will be possible to drag windows across/underneath the panel when you have a display above the panel. This is good because it makes the top display usable, but it looks really weird when there's a window partially under the display during the drag.

If possible, we should make the panel go opaque (just using the maximized state is probably fine) when a window exists beneath the panel.

cassidyjames commented 4 years ago

Example:

Screenshot from 2020-01-31 13 13 20

cassidyjames commented 4 years ago

It looks like GNOME Shell handles this by turning the panel opaque when a window is directly adjacent to the bottom of or overlapping the panel.