Rectangle is flickering while dragging on screen with xlib
Hi, this is my first post here.
I wanto make a screencasting program. I want to make a screen part selection to grab coordinates of the screen location.
I found a nice prototype
I am on Ubuntu 14.04 platform, I compiled and run the code. While dragging mouse I get flickering and partially missing rectangle. I wonder if it's specific to my system or xlib library deprecated?
Hello!
Im running tight VNC on Red Hat Enterprise Linux 4.0.
How can I increase the number of X clients that I can run
in a VNC session?I need to run aproximately 500 programs in one VNC session,
but at this time I can only 236 -> i've tryed to launch 250 xclock's in background
and when it... (3 Replies)
Hi,
I'm trying to create a virtual screen, (maybe xvfb? or any other virtual screen buffer) and be able to use Screen Sharing to connect to it.
The setup is that I have a Mac Mini connected to the TV. But when my girlfriend is using Front Row, I can't use Screen Sharing at the same time from... (0 Replies)
i have installed ubuntu 9.0.4 on my laptop and i have a display problem
my laptop display flickers from time to time while i am using it
and to me it is kind of annoying
please reply
thanks (8 Replies)
Hi,
I am using the feh slideshow program in full-screen mode. While the slide show is in progress I would like to draw some other windows (something like clock or calendar from gdesklets) on top of this slideshow. Currently feh does not allow me to do that. Below is the code that feh uses to... (0 Replies)
hi there
when i run
#service --status-all
or
#service nfs status
the screen flickers
if i ssh from remote system than i dont have flickering on the remote nor that system.
is it something to do with probably display configuration. ?
and which file are the display setting... (7 Replies)
Hi,
I am handling user issues in my team. Users have their Unix session running on Citrix MFU.
Recently, I was suppose to address a user issue which is as below:
Gets the below error when tries to open nedit:
Xlib: connection to ":165.0" refused by server
Xlib: Client is not... (1 Reply)
Two simple questions related to the following puzzling behaviour:
I have the following line of code:
const KeyCode kc = XKeysymToKeycode(_display_p, ks);
where _display_p is a valid Display* returned from XOpenDisplay() and ks has the value 103 (which was returned by XStringToKeysym(),... (2 Replies)
I made a screen within a screen.
Is there a way to move the inner screen up one level so that it is at the same level as the first screen running from the shell? (2 Replies)
hey,
Im new to the linux world. Lately, I have tried to create a glx window with xlib, making it a popup window(fullscreen) so I set override_redirect to true. Im happy with the removed borders, but apparantly, the application doesnt show up in the left bar in ubuntu, neither when I press alt... (4 Replies)
Discussion started by: thedardanius
4 Replies
LEARN ABOUT REDHAT
xshapeinputselected
XSHAPE(3X11) X FUNCTIONS XSHAPE(3X11)NAME
XShapeQueryExtension, XShapeQueryVersion, XShapeCombineRegion, XShapeCombineRectangles, XShapeCombineMask, XShapeCombineShape, XShapeOff-
setShape, XShapeQueryExtents, XShapeSelectInput, XShapeInputSelected, XShapeGetRectangles - X nonrectangular shape functions
SYNTAX
#include <X11/extensions/shape.h>
Bool XShapeQueryExtension (
Display *dpy,
int *event_basep,
int *error_basep);
Status XShapeQueryVersion (
Display *dpy,
int *major_versionp,
int *minor_versionp);
void XShapeCombineRegion (
Display *dpy,
Window dest,
int destKind,
int xOff,
int yOff,
struct _XRegion *r,
int op);
void XShapeCombineRectangles (
Display *dpy,
XID dest,
int destKind,
int xOff,
int yOff,
XRectangle *rects,
int n_rects,
int op,
int ordering);
void XShapeCombineMask (
Display *dpy,
XID dest,
int destKind,
int xOff,
int yOff,
Pixmap src,
int op);
void XShapeCombineShape (
Display *dpy,
XID dest,
int destKind,
int xOff,
int yOff,
Pixmap src,
int srcKind,
int op);
void XShapeOffsetShape (
Display *dpy,
XID dest,
int destKind,
int xOff,
int yOff);
Status XShapeQueryExtents (
Display *dpy,
Window window,
int *bShaped,
int *xbs,
int *ybs,
unsigned int *wbs,
unsigned int *hbs,
int *cShaped,
int *xcs,
int *ycs,
unsigned int *wcs,
unsigned int *hcs);
void XShapeSelectInput (
Display *dpy,
Window window,
unsigned longmask);
unsigned long XShapeInputSelected (
Display *dpy,
Window window);
XRectangle *XShapeGetRectangles (
Display *dpy,
Window window,
int kind,
int *count,
int *ordering);
STRUCTURES
typedef struct {
int type;
unsigned long serial;
Bool send_event;
Display *display;
Window window;
int kind;
int x, y;
unsigned width, height;
Time time;
Bool shaped;
} XShapeEvent;
DESCRIPTION
The X11 Nonrectangular Window Shape Extension adds nonrectangular windows to the X Window System.
PREDEFINED VALUES
Operations:
ShapeSet
ShapeUnion
ShapeIntersect
ShapeSubtract
ShapeInvert
Shape Kinds:
ShapeBounding
ShapeClip
Event defines:
ShapeNotifyMask
ShapeNotify
BUGS
This manual pages needs a lot more work.
SEE ALSO
X11 Nonrectangular Window Shape Extension
X Version 11 Release 6.6 XSHAPE(3X11)