mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
bug fixes in icon placement, attribute inspector, balloon, workspace display
timeout
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include "framewin.h"
|
||||
#include "window.h"
|
||||
#include "icon.h"
|
||||
#include "appicon.h"
|
||||
#include "actions.h"
|
||||
#include "funcs.h"
|
||||
#include "application.h"
|
||||
@@ -72,7 +73,8 @@ iconPosition(WCoreWindow *wcore, int sx1, int sy1, int sx2, int sy2,
|
||||
parent = wcore->descriptor.parent;
|
||||
|
||||
/* if it is an application icon */
|
||||
if (wcore->descriptor.parent_type == WCLASS_APPICON) {
|
||||
if (wcore->descriptor.parent_type == WCLASS_APPICON
|
||||
&& !((WAppIcon*)parent)->docked) {
|
||||
*retX = ((WAppIcon*)parent)->x_pos;
|
||||
*retY = ((WAppIcon*)parent)->y_pos;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user