Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data/gala.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
</ul>
</description>
<issues>
<issue url="https://github.com/elementary/gala/issues/2724">When using wl-copy/wl-paste (wl-clipboard) the dock shows up although Terminal is maximized</issue>
<issue url="https://github.com/elementary/gala/issues/2657">Window icons missing in the Show All Windows overview</issue>
<issue url="https://github.com/elementary/gala/issues/2675">Blur behind modal shell protocol</issue>
<issue url="https://github.com/elementary/gala/issues/2676">Window selection from dock overview doesn't focus the chosen window</issue>
Expand Down
7 changes: 7 additions & 0 deletions lib/Utils.vala
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,13 @@ namespace Gala {
}

public static inline bool get_window_is_normal (Meta.Window window) {
// Some utilities like wl-copy/wl-paste create a 1x1 window to get access to clipboard
// Filter them as well
var buffer_rect = window.get_buffer_rect ();
if (buffer_rect.width <= 1 || buffer_rect.height <= 1) {
return false;
}

switch (window.window_type) {
case Meta.WindowType.NORMAL:
case Meta.WindowType.DIALOG:
Expand Down