mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
Fixed segfault when unhiding an application in certain conditions (seen
with KDE applications with transient windows)
This commit is contained in:
@@ -39,6 +39,8 @@ Changes since version 0.92.0:
|
|||||||
configuration file (Stanislav Maslovski <stanislav.maslovski@gmail.com>)
|
configuration file (Stanislav Maslovski <stanislav.maslovski@gmail.com>)
|
||||||
- Removed WINGs' dependency on rgb.txt (from X11) and issues with locating it
|
- Removed WINGs' dependency on rgb.txt (from X11) and issues with locating it
|
||||||
on the filesystem for different systems/distributions.
|
on the filesystem for different systems/distributions.
|
||||||
|
- Fixed segfault when unhiding an application in certain conditions (seen
|
||||||
|
with KDE applications with transient windows)
|
||||||
|
|
||||||
|
|
||||||
Changes since version 0.91.0:
|
Changes since version 0.91.0:
|
||||||
|
|||||||
@@ -1485,9 +1485,10 @@ wUnhideApplication(WApplication *wapp, Bool miniwindows, Bool bringToCurrentWS)
|
|||||||
focused = wlist;
|
focused = wlist;
|
||||||
|
|
||||||
if (wlist->flags.miniaturized) {
|
if (wlist->flags.miniaturized) {
|
||||||
if (bringToCurrentWS || wPreferences.sticky_icons ||
|
if ((bringToCurrentWS || wPreferences.sticky_icons ||
|
||||||
wlist->frame->workspace == scr->current_workspace) {
|
wlist->frame->workspace == scr->current_workspace) &&
|
||||||
if (wlist->icon && !wlist->icon->mapped) {
|
wlist->icon) {
|
||||||
|
if (!wlist->icon->mapped) {
|
||||||
int x, y;
|
int x, y;
|
||||||
|
|
||||||
PlaceIcon(scr, &x, &y, wGetHeadForWindow(wlist));
|
PlaceIcon(scr, &x, &y, wGetHeadForWindow(wlist));
|
||||||
|
|||||||
Reference in New Issue
Block a user