Skip to content
Snippets Groups Projects
Commit 4765eea6 authored by Niels Möller's avatar Niels Möller
Browse files

* Requests.pmod (GrabButton): New class.

Rev: lib/modules/Protocols.pmod/X.pmod/Requests.pmod:1.12
parent 6d5c404b
No related branches found
No related tags found
No related merge requests found
...@@ -413,6 +413,53 @@ class ListProperties ...@@ -413,6 +413,53 @@ class ListProperties
} }
} }
#if 0
class GrabPointer
{
inherit request;
constant reqType = 26;
}
class UnGrabPointer
{
inherit request;
constant reqType = 27;
}
#endif
class GrabButton
{
inherit request;
constant reqType = 28;
int ownerEvents;
int grabWindow;
int eventMask;
int pointerMode;
int keyboardMode;
int confineTo;
int cursor;
int button;
int modifiers;
string to_string()
{
return build_request(sprintf("%4c%2c" "%c%c" "%4c%4c%c\0%2c",
grabWindow, eventMask,
pointerMode, keyboardMode,
confineTo, cursor, button, modifiers),
ownerEvents);
}
}
#if 0
class UnGrabButton
{
inherit request;
constant reqType = 29;
}
#endif
class CreateGC class CreateGC
{ {
inherit request; inherit request;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment