projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
73f85d0
)
set the right mask for the client msg!
author
Dana Jansens
<danakj@orodu.net>
Sat, 12 Apr 2003 04:17:01 +0000
(
04:17
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 12 Apr 2003 04:17:01 +0000
(
04:17
+0000)
tests/fullscreen.c
patch
|
blob
|
history
diff --git
a/tests/fullscreen.c
b/tests/fullscreen.c
index
c5f686d
..
ea5081a
100644
(file)
--- a/
tests/fullscreen.c
+++ b/
tests/fullscreen.c
@@
-30,6
+30,7
@@
int main () {
XFlush(display);
sleep(2);
XFlush(display);
sleep(2);
+ printf("fullscreen\n");
msg.xclient.type = ClientMessage;
msg.xclient.message_type = _net_state;
msg.xclient.display = display;
msg.xclient.type = ClientMessage;
msg.xclient.message_type = _net_state;
msg.xclient.display = display;
@@
-41,10
+42,11
@@
int main () {
msg.xclient.data.l[3] = 0l;
msg.xclient.data.l[4] = 0l;
XSendEvent(display, RootWindow(display, 0), False,
msg.xclient.data.l[3] = 0l;
msg.xclient.data.l[4] = 0l;
XSendEvent(display, RootWindow(display, 0), False,
- S
tructureNotifyMask | SubstructureNotify
Mask, &msg);
+ S
ubstructureNotifyMask | SubstructureRedirect
Mask, &msg);
XFlush(display);
sleep(2);
XFlush(display);
sleep(2);
+ printf("restore\n");
msg.xclient.type = ClientMessage;
msg.xclient.message_type = _net_state;
msg.xclient.display = display;
msg.xclient.type = ClientMessage;
msg.xclient.message_type = _net_state;
msg.xclient.display = display;
@@
-56,7
+58,7
@@
int main () {
msg.xclient.data.l[3] = 0l;
msg.xclient.data.l[4] = 0l;
XSendEvent(display, RootWindow(display, 0), False,
msg.xclient.data.l[3] = 0l;
msg.xclient.data.l[4] = 0l;
XSendEvent(display, RootWindow(display, 0), False,
- S
tructureNotifyMask | SubstructureNotify
Mask, &msg);
+ S
ubstructureNotifyMask | SubstructureRedirect
Mask, &msg);
XSelectInput(display, win, ExposureMask | StructureNotifyMask);
XSelectInput(display, win, ExposureMask | StructureNotifyMask);