Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions obt/prop.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ void obt_prop_startup(void)
CREATE_(KDE_WM_CHANGE_STATE);
CREATE_(KDE_NET_WM_WINDOW_TYPE_OVERRIDE);

CREATE_(GTK_FRAME_EXTENTS);

/*
CREATE_NAME(ROOTPMAPId, "_XROOTPMAP_ID");
CREATE_NAME(ESETROOTId, "ESETROOT_PMAP_ID");
Expand Down
4 changes: 4 additions & 0 deletions obt/prop.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ typedef enum {
OBT_PROP_KDE_NET_WM_FRAME_STRUT,
OBT_PROP_KDE_NET_WM_WINDOW_TYPE_OVERRIDE,

/* GTK atoms */

OBT_PROP_GTK_FRAME_EXTENTS,

/*
OBT_PROP_ROOTPMAPID,
OBT_PROP_ESETROOTID,
Expand Down
5 changes: 5 additions & 0 deletions openbox/screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,11 @@ gboolean screen_annex(void)
supported[i++] = OBT_PROP_ATOM(KDE_NET_WM_FRAME_STRUT);
supported[i++] = OBT_PROP_ATOM(KDE_NET_WM_WINDOW_TYPE_OVERRIDE);

// FIXME: openbox claims to support GTK_FRAME_EXTENTS, which is currently
// not the case. This, however, enables full GTK client-side decorations,
// e.g. rounded window frames and shadows.
supported[i++] = OBT_PROP_ATOM(GTK_FRAME_EXTENTS);

supported[i++] = OBT_PROP_ATOM(OB_WM_ACTION_UNDECORATE);
supported[i++] = OBT_PROP_ATOM(OB_WM_STATE_UNDECORATED);
supported[i++] = OBT_PROP_ATOM(OPENBOX_PID);
Expand Down