Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-18-2008, 01:05 AM   #1
LQ Newbie
Registered: Oct 2007
Posts: 15

Rep: Reputation: 0
Lightbulb xlib: how to create a window without title bar

I need to create a window without the default title bar under xlib, who can tell me some ideas to complete this. It will be much more helpful to give me the source codes.
Thanks & Best Regards.
Old 01-18-2008, 10:54 AM   #2
Registered: Oct 2005
Posts: 970

Rep: Reputation: Disabled
I believe the title is added by the window manager, so I assume you would need to speak to it and maybe change the window attributes.
Old 01-18-2008, 01:32 PM   #3
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

DMail is correct - the title bar, etc all come from the window manager (e.g. KDE) and to change it (or get rid of it), you need to talk to the window manager.

In general, you'll use the Xlib call "XSetWMHints()". But it really depends on your code.

a) Read this link:

b) Post some specific code (please be sure to use "code tags"! ;-)) if you need more help.

Your .. PSM
Old 01-20-2008, 07:49 PM   #4
LQ Newbie
Registered: Oct 2007
Posts: 15

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks, You and DMail is correct, I find some information about window manager. And, at last, have done this topic.

Thank you and DMail.


title, xlib

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
F8 compiz: window title bar covered by gnome-panel Kropotkin Fedora 2 11-13-2007 07:19 AM
Can I change title bar content in an application window? dhave Linux - Desktop 4 09-19-2007 02:27 PM
windowmaker restore window (title bar, scroll bars etc) frieza Linux - Software 2 02-24-2007 11:19 PM
Please help. My window title bar has disappeared. robert_rowe Linux - Newbie 4 02-10-2007 02:19 PM
window without a title bar using xlib CarzyIvan Programming 1 02-11-2006 05:21 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration