Border-less (fullscreen) application under X - HowTo??
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Border-less (fullscreen) application under X - HowTo??
Hello All,
Please forgive me if this is newbie question:
I am trying to create a border-less application (i.e. fullscreen). I started with KDevelope "Simple Hello World" app but can't figure out if I can remove the border and go into fullscreen mode with these.
I then tried SVGALIB to avoid X all together but I soon hit a brick wall trying to support TrueType fonts (can't make FreeType work).
Any advice would be most appreciated at this point.... I just really don't know what the right plan of attack would be.
Define border? In X, window borders are usually always set to zero as they are just about useless these days. But perhaps you meant window borders drawn by the window manager. In that case, you simply have to go around the window manager, use "CWOverrideRedirect" in the valuemask when creating a new window, and in the attibutes structure, simply set "override_redirect" to true. (note: im assuming you are using X directly thru xlib)
Thanks for the reply. I am so much a newb that your explanation will need to bounce around my big evil head for a few days before I can make sense of it.
Also, forgive my clumsy attempt to describe what it is I am trying to do. I can't even converse in the proper context yet.
The bottom line is my app needs to fill the entire screen with data. i.e. every pixel horizontally and vertically must be rendered by my app. I am not allowed to have any borders/frames/outlines - whatever they should be called in Linux - surrounding my apps output. I think what I am trying to say is the app must run fullscreen??
I am lucky in that the required resolution for my app is 640x480x256 so I already have a supported video mode. If I could just be utilize all pixels on the entire screen, I would be GOLDEN!
Sorry if I am not stating all this in a Linux-centric framework. I just started getting my feet wet in this world and it's a lot to bite off at once.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.