Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Fixes #472
  • Loading branch information
ThomasAdam committed Apr 4, 2021
1 parent 2bae129 commit fcb7d0e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions fvwm/fvwm.h
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,9 @@ typedef struct window_g
/* for each window that is on the display, one of these structures
* is allocated and linked into a list
*/

struct grouped_window;

typedef struct FvwmWindow
{
/* name of the window */
Expand All @@ -739,6 +742,9 @@ typedef struct FvwmWindow
char *style_name;
int name_count;
int icon_name_count;

struct grouped_window *gw;

/* next fvwm window */
struct FvwmWindow *next;
/* prev fvwm window */
Expand Down Expand Up @@ -990,6 +996,22 @@ typedef struct FvwmWindow
struct monitor *m_prev;
} FvwmWindow;

struct grouped_window {

TAILQ_ENTRY(grouped_window) entry;
FvwmWindow *fw;
Window title;
char *name;
char *class;
int w, h;
int tabx, tabw;
};
TAILQ_HEAD(grouped_windows, grouped_window);

extern struct grouped_windows grouped_window_q;

struct grouped_window *group_new(FvwmWindow *);

/* ---------------------------- exported variables (globals) --------------- */

/* ---------------------------- interface functions ------------------------ */
Expand Down

0 comments on commit fcb7d0e

Please sign in to comment.