Fred Kiefer
f4868d3a43
New method -_XFrameToXHints:for:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22923 72102866-910b-0410-8b05-ffd578937521
2006-05-13 20:56:18 +00:00
Fred Kiefer
c7e1737369
Better styleoffsets implementation by Yen-Ju Chen <yjchenx@hotmail.com>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22853 72102866-910b-0410-8b05-ffd578937521
2006-05-03 23:14:08 +00:00
Fred Kiefer
6a98deaae9
Support method to wrap an X window inside of GNUstep.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22852 72102866-910b-0410-8b05-ffd578937521
2006-05-03 21:12:37 +00:00
David Ayers
c352f79a30
* Source/x11/raster.c (RCreateImage): Remove unused variables.
...
* Source/x11/XGServerEvent.m (gotShmCompletion:) Declare privat
interface for shared memory handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22840 72102866-910b-0410-8b05-ffd578937521
2006-04-30 08:56:51 +00:00
Adam Fedor
e4c0a90bfb
* Source/x11/XGServerWindow.m (titlewindow::): Set NAME and ICON_NAME
...
WM properties (Patch #5014 from Yen-Ju Chen).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22829 72102866-910b-0410-8b05-ffd578937521
2006-04-26 14:50:08 +00:00
Fred Kiefer
ea871f3be2
Reset the window cache, when terminating the currnt window.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22645 72102866-910b-0410-8b05-ffd578937521
2006-03-12 23:28:26 +00:00
Fred Kiefer
23e714f886
Don't set NSHost from X display name.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22445 72102866-910b-0410-8b05-ffd578937521
2006-02-06 20:31:39 +00:00
Richard Frith-Macdonald
783e7162c7
More 64bit fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22311 72102866-910b-0410-8b05-ffd578937521
2006-01-14 17:02:51 +00:00
Richard Frith-Macdonald
fe123cdc96
Some amd64 fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22305 72102866-910b-0410-8b05-ffd578937521
2006-01-14 11:34:55 +00:00
Adam Fedor
d9db95f880
* Source/art/ARTContext.m ([ARTContext -beep]): Respect user setting
...
of bell volume.
* Source/x11/XGServe.m: Idem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22191 72102866-910b-0410-8b05-ffd578937521
2005-12-20 20:36:59 +00:00
Adam Fedor
e33d340cd6
configure.in: Check for Xutf8LookupString
...
Source/x11/XIMInputServer.m: Use it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22172 72102866-910b-0410-8b05-ffd578937521
2005-12-17 02:45:16 +00:00
Fred Kiefer
684c01e984
Use UTF8 window title for X where possible.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22165 72102866-910b-0410-8b05-ffd578937521
2005-12-10 17:41:06 +00:00
Fred Kiefer
b846b79559
Don't user NET WM icon on Window Maker.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22043 72102866-910b-0410-8b05-ffd578937521
2005-11-18 17:53:53 +00:00
Richard Frith-Macdonald
08c5a3d3d0
Coding style fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22020 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:40:31 +00:00
Fred Kiefer
5de50d17fd
Small cairo fixes plus NET WM icon setting.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21964 72102866-910b-0410-8b05-ffd578937521
2005-11-07 00:11:09 +00:00
Adam Fedor
85bf065924
Add/fix copyright and licenses.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21392 72102866-910b-0410-8b05-ffd578937521
2005-07-01 20:43:10 +00:00
Adam Fedor
7a3f75f9ac
Update FSF Address
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21263 72102866-910b-0410-8b05-ffd578937521
2005-05-26 22:51:53 +00:00
Fred Kiefer
47ddc6186d
Fix bug #12578 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21072 72102866-910b-0410-8b05-ffd578937521
2005-04-07 19:05:32 +00:00
Richard Frith-Macdonald
f9c0246d47
DnD cleanups and fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21028 72102866-910b-0410-8b05-ffd578937521
2005-04-01 14:10:39 +00:00
Richard Frith-Macdonald
d7737164ec
Make XGDragView a subclass of GSDragView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20999 72102866-910b-0410-8b05-ffd578937521
2005-03-29 10:11:16 +00:00
Adam Fedor
aa0a031904
* configure.ac: Rewrite, avoid setting vars unecessarily. Use
...
pkg-config if possible. Switch back to xlib/winlib when other backends
don't satisfy dependancies.
* config.make, config.h: Update to match.
* GNUmakefile (SUBPROJECTS): Add Fonts
* Fonts: New folder with default nfont
* Source/x11/GNUmakefile: Remove unneeded file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20783 72102866-910b-0410-8b05-ffd578937521
2005-02-23 03:47:34 +00:00
Fred Kiefer
716fa5212a
Implemented window alpha handling for X servers that support it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20698 72102866-910b-0410-8b05-ffd578937521
2005-02-12 18:30:56 +00:00
Alexander Malmberg
41d945a4e2
2005-02-12 13:54 Alexander Malmberg <alexander@malmberg.org>
...
* Source/x11/XGServerWindow.m (setNormalHints): If the window isn't
resizable, force the min and max sizes to be equal to the current
size.
(-placewindow::): Set the hints after updating xframe.
Fixes bug #11713 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20693 72102866-910b-0410-8b05-ffd578937521
2005-02-12 12:50:23 +00:00
Alexander Malmberg
82ca6dd14a
2005-01-21 21:51 Alexander Malmberg <alexander@malmberg.org>
...
Various warning and whitespace cleanups.
* Headers/x11/XGServerWindow.h,
* Source/art/ftfont.m,
* Source/gsc/GSGState.m,
* Source/win32/WIN32Server.m,
* Source/x11/XGDragView.m,
* Source/x11/XGServerEvent.m,
* Source/x11/XGServerWindow.m: Change signedness of various
variables.
* Tools/gpbs.m: Add missing ctype.h include.
* Source/x11/XGDrawView.m (-_setCursor): Initialize variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20591 72102866-910b-0410-8b05-ffd578937521
2005-01-21 20:49:29 +00:00
Adrian Robert
d64abeb81b
compute XdndPosition coordinates from X function as cached may be wrong for app icon
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20557 72102866-910b-0410-8b05-ffd578937521
2005-01-15 02:28:13 +00:00
Alexander Malmberg
455372bfec
2005-01-11 21:57 Alexander Malmberg <alexander@malmberg.org>
...
* Headers/x11/XWindowBuffer.h: Make the pending_rect ivar a struct
of int:s.
* Source/x11/XWindowBuffer.m: Add casts to remove pointer sign
warnings.
(-_exposeRect:, -_gotShmCompletion): Update uses of pending_rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20537 72102866-910b-0410-8b05-ffd578937521
2005-01-11 21:00:14 +00:00
Gregory John Casamento
6a708ea7a2
Correction for bug with dragview.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20504 72102866-910b-0410-8b05-ffd578937521
2004-12-30 23:36:06 +00:00
Fred Kiefer
93045595ed
Don't provide defaults for missing standard cursors.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20429 72102866-910b-0410-8b05-ffd578937521
2004-12-08 23:57:06 +00:00
Fred Kiefer
0929578d2b
Reworked KDE window level handling ones more.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20424 72102866-910b-0410-8b05-ffd578937521
2004-12-06 19:47:32 +00:00
Matt Rice
3e10117de9
2004-11-28 Matt Rice <ratmice@yahoo.com>
...
* Source/x11/XGGLFormat.m (-initWithAttributes:,append,append1): Add
missing curly brackets, fix append and append1 macros so they can safely
be used without curly brackets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20392 72102866-910b-0410-8b05-ffd578937521
2004-11-29 00:19:46 +00:00
Alexander Malmberg
34d406f5d9
2004-11-10 18:41 Alexander Malmberg <alexander@malmberg.org>
...
* Source/x11/XWindowBuffer.m (test_xshm): New function.
(test_xshm_error_handler): New function.
(+windowBufferForWindow:depthInfo:): Move XShm detection code
to test_xshm and use it to decide whether to use XShm or not.
(+initialize): Move use_xshm setting code to test_xshm.
(+_gotShmCompletion:): Don't warn if we can't find an XWindowBuffer
for the event.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20338 72102866-910b-0410-8b05-ffd578937521
2004-11-10 17:47:38 +00:00
Matt Rice
e71ab02698
2004-11-10 Matt Rice <ratmice@yahoo.com>
...
* Source/x11/XGServerWindow.m (-iconSize): Implement new method.
(-iconTileImage:): ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20337 72102866-910b-0410-8b05-ffd578937521
2004-11-10 17:14:58 +00:00
Alexander Malmberg
218d2082d9
2004-11-09 22:42 Alexander Malmberg <alexander@malmberg.org>
...
* Source/x11/XGBitmapImageRep.m: Remove dead file.
* Source/x11/GNUmakefile: Remove reference.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20333 72102866-910b-0410-8b05-ffd578937521
2004-11-09 21:44:53 +00:00
Adrian Robert
106c7e3674
new default 'GSModifiersAreKeys', if set XGServerEvent will always interpret the same key as the same keysym/modifier; also, fix typo in xlib/XGBitmap error message
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20297 72102866-910b-0410-8b05-ffd578937521
2004-11-05 04:31:26 +00:00
Fred Kiefer
e9a6af10d5
Corrected typo for GSSecondAlternateKey.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20172 72102866-910b-0410-8b05-ffd578937521
2004-09-28 18:07:25 +00:00
Adrian Robert
765884244c
final fixes after feedback from Kazunobu Kuriyama on previous commit - lookup keysym properly when key combinations are pressed in process_key_event; also, improve interpretation of modifier state on keymapnotify events (processEvent:)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20129 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:25:50 +00:00
Adam Fedor
0f4e4f317e
* Headers/x11/XGServer.h: Add 8bit fast drawing.
...
* Source/x11/XGServer.m ([XGScreenContext
-initForDisplay:screen:]): For 8bit, test for RGB_BEST_MAP.
* Source/xlib/XGBitmap.m (_pixmap_combine_alpha,
_bitmap_combine_alpha, _pixmap_read_alpha): Add 8 bit case.
(patch from Paul Secchia <paul@worldnet.att.net>).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20033 72102866-910b-0410-8b05-ffd578937521
2004-09-08 16:22:00 +00:00
Adrian Robert
9ab8685d13
changed mapping of GNUstep modifier keys to X11 KeySyms instead of KeyCodes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19943 72102866-910b-0410-8b05-ffd578937521
2004-08-31 16:36:39 +00:00
Alexander Malmberg
0d356e9733
Update window frame handling to match -gui. Improve window resizing behavior in x11 backends.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19854 72102866-910b-0410-8b05-ffd578937521
2004-08-09 12:42:12 +00:00
Alexander Malmberg
431d4006bf
Create a icon pixmap for windowmaker.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19777 72102866-910b-0410-8b05-ffd578937521
2004-07-26 13:48:41 +00:00
Fred Kiefer
b829fc0758
Added more standard cursors.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19639 72102866-910b-0410-8b05-ffd578937521
2004-06-28 12:27:33 +00:00
Alexander Malmberg
e4e8a33716
Add buffer_width and buffer_height ivars and use them instead of xframe to keep track of buffer sizes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19636 72102866-910b-0410-8b05-ffd578937521
2004-06-27 22:51:08 +00:00
Alexander Malmberg
40c4368cc9
Improve handling of ConfigureNotify events. Add GSX11HandlesWindowDecorations defaults and code to handle it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19623 72102866-910b-0410-8b05-ffd578937521
2004-06-26 11:09:39 +00:00
Alexander Malmberg
305b8d6074
(-initWithAttributes:): Fix handling of 15 and 16bpp modes (NSOpenGLPFAAccumSize).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18962 72102866-910b-0410-8b05-ffd578937521
2004-03-29 23:53:38 +00:00
Adam Fedor
72ef8dd8fd
Don't raise root window
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18614 72102866-910b-0410-8b05-ffd578937521
2004-02-18 04:29:36 +00:00
Alexander Malmberg
0d3ab8ad0e
Remove uses of the deprecated 'casts as lvalues' gcc extension.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18536 72102866-910b-0410-8b05-ffd578937521
2004-02-04 00:59:59 +00:00
Adam Fedor
9e93daff9e
Really check for XShm
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18369 72102866-910b-0410-8b05-ffd578937521
2004-01-11 04:05:43 +00:00
Adam Fedor
8600ffe85d
Prevent orderwindow:relativeTo: from making a window key.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18367 72102866-910b-0410-8b05-ffd578937521
2004-01-10 22:41:10 +00:00
Adam Fedor
fa9714776f
Revert unintended change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18366 72102866-910b-0410-8b05-ffd578937521
2004-01-10 20:02:26 +00:00
Adam Fedor
47c37caf62
Fix for w32 backends (ordering windows)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@18365 72102866-910b-0410-8b05-ffd578937521
2004-01-10 19:59:43 +00:00