[Xpert]use XGrabKeyboard(...)

2002-12-04 Thread nikita
I have KDE 3,X 4 and the following code

.

  XSelectInput ( prDisplay, nWnd, ExposureMask | KeyPressMask );


  XGrabKeyboard (prDisplay, nWnd, True, GrabModeSync, GrabModeSync, 
CurrentTime);


  XMapWindow ( prDisplay, nWnd );



  while ( 1 ) {
XNextEvent ( prDisplay, &rEvent );

.

But my application has not recieved any key events in focus out
Why do it?
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]change X resolution

2002-07-09 Thread nikita

On Monday 01 July 2002 12:55, you wrote:
> > Hello,
> >
> > I know about CTR-ALT- + for moving from 1024x768 to 640x480 on fly
> > without restart X.
> >
> > How could i move from 1024x768 to 640x480 in my program code?
> > Any examples.
>
> See the source code for xvidtune.  If you run 'xvidtune -next', you'll get
> the same behaviour as Ctrl-Alt-Plus and 'xvidtune -prev' switches to the
> previous mode like Ctrl-Alt-Minus.
>
> If you have several modes and the one you want doesn't happen to be the
> next or previous one, you have two choices: (1) do a next/prev switch
> repeatedly or (2) use XF86VidModeSwitchToMode().  See the XF86VidMode man
> page for details.
>
> ___
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert

Thanks a lot of for the help me
It looks like it is working

Nikita
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]change X resolution

2002-06-30 Thread nikita

Hello,

I know about CTR-ALT- + for moving from 1024x768 to 640x480 on fly without 
restart X.

How could i move from 1024x768 to 640x480 in my program code?
Any examples.
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]question

2002-06-21 Thread nikita

Hello,

My name is Nikita.

I know about CTR-ALT- + for moving from 1024x768 to 640x480 on fly without 
restart X.

How could i move from 1024x768 to 640x480 in my program code?


Thank
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]from X user with question

2002-06-21 Thread nikita

Hello,

My name is Nikita.

I know about CTR-ALT- + for moving from 1024x768 to 640x480 on fly without 
restart X.

How could i move from 1024x768 to 640x480 in my program code?


Thank

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert