Wingpanel doesn't set proper struts
Bug #826853 reported by
Danielle Foré
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wingpanel |
Fix Released
|
Critical
|
Fabian Thoma |
Bug Description
In the GTK3 wingpanel, struts aren't set properly taking into account menuitem spacing. This means that depending on your theme, your windows will go underneath the panel.
Also in multimonitor setups the struts may be placed on the wrong screen
Changed in wingpanel: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in wingpanel: | |
milestone: | none → 0.1-alpha |
Changed in wingpanel: | |
importance: | High → Critical |
description: | updated |
Changed in wingpanel: | |
assignee: | nobody → Fabian Thoma (agent00tai) |
Changed in wingpanel: | |
status: | Confirmed → In Progress |
Changed in wingpanel: | |
status: | In Progress → Fix Committed |
Changed in wingpanel: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here's some code that might come in handy (I used it in another Vala program):
Gdk.property_ change( this.get_ window( ),
Gdk. Atom.intern( "_NET_WM_ STRUT_PARTIAL" , false),
Gdk. Atom.intern( "CARDINAL" , false),
32,
Gdk. PropMode. REPLACE,
(uchar[ ]) this.struts,
this. struts. length) ;