mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-31 01:11:00 +00:00
Enlarge protocol array to make space for the _NET_WM_SYNC_REQUEST
protocol atom. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33224 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c5c7bf600a
commit
f8dda0994b
3 changed files with 15 additions and 1 deletions
|
@ -72,6 +72,8 @@ typedef struct {
|
|||
#define WMFHideOtherApplications 10
|
||||
#define WMFHideApplication 12
|
||||
|
||||
#define GSMaxWMProtocols 5
|
||||
|
||||
/* Graphics Driver protocol. Setup in [NSGraphicsContext-contextDevice:] */
|
||||
enum {
|
||||
GDriverHandlesBacking = 1,
|
||||
|
@ -109,7 +111,7 @@ typedef struct _gswindow_device_t {
|
|||
int xoff;
|
||||
int yoff;
|
||||
int boff;
|
||||
Atom protocols[4];
|
||||
Atom protocols[GSMaxWMProtocols];
|
||||
int numProtocols;
|
||||
XIC ic;
|
||||
void *gdriver; /* gdriver ident. Managed by gdriver */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue