Skip to content

Commit

Permalink
Advertise support for _GTK_FRAME_EXTENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
lukefromdc committed Jan 25, 2018
1 parent 1861f1f commit 7a1a1df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/compiz-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,7 @@ struct _CompDisplay {
Atom clientListStackingAtom;

Atom frameExtentsAtom;
Atom gtkFrameExtentsAtom;
Atom frameWindowAtom;

Atom wmStateAtom;
Expand Down
1 change: 1 addition & 0 deletions src/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -2136,6 +2136,7 @@ addDisplay (const char *name)
XInternAtom (dpy, "_NET_CLIENT_LIST_STACKING", 0);

d->frameExtentsAtom = XInternAtom (dpy, "_NET_FRAME_EXTENTS", 0);
d->gtkFrameExtentsAtom = XInternAtom (dpy, "_GTK_FRAME_EXTENTS", 0);
d->frameWindowAtom = XInternAtom (dpy, "_NET_FRAME_WINDOW", 0);

d->wmStateAtom = XInternAtom (dpy, "WM_STATE", 0);
Expand Down
1 change: 1 addition & 0 deletions src/screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,7 @@ addSupportedAtoms (CompScreen *s,

atoms[count++] = d->wmUserTimeAtom;
atoms[count++] = d->frameExtentsAtom;
atoms[count++] = d->gtkFrameExtentsAtom;
atoms[count++] = d->frameWindowAtom;

atoms[count++] = d->winStateAtom;
Expand Down

0 comments on commit 7a1a1df

Please sign in to comment.