Frank Le Grand
1b82d912b5
Merged Trunk changes from rev 35217 to TestPlant branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@36952 72102866-910b-0410-8b05-ffd578937521
2013-08-09 14:21:15 +00:00
Eric Wasylishen
a8860a1493
* Source/x11/XIMInputServer.m: Remove the locale setting code.
...
Use the correct #ifdef check for Xutf8LookupString, and use
that function if available; otherwise use XLookupString.
Interpret the return value of XLookupString as Latin-1.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@35152 72102866-910b-0410-8b05-ffd578937521
2012-05-13 02:41:30 +00:00
Fred Kiefer
97f4f7def9
* Headers/x11/XWindowBuffer.h: Protect the usage of shm.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34025 72102866-910b-0410-8b05-ffd578937521
2011-10-19 07:35:27 +00:00
Eric Wasylishen
1554a718dc
* Headers/x11/XGGeneric.h
...
* Source/x11/XGServerWindow.m: Add new netwm window state atoms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33549 72102866-910b-0410-8b05-ffd578937521
2011-07-14 19:09:17 +00:00
Fred Kiefer
55bc606c48
* Headers/x11/XGServer.h: Add #include of config.h.
...
* Source/art/path.m (-DPSrectfill::::),
* Source/xlib/XGGState.m (-DPSrectfill::::): Change name of local
variable to avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33365 72102866-910b-0410-8b05-ffd578937521
2011-06-22 22:09:41 +00:00
Wolfgang Lux
938f716f55
Enlarge protocol array to make space for the _NET_WM_SYNC_REQUEST
...
protocol atom.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33224 72102866-910b-0410-8b05-ffd578937521
2011-06-01 20:56:27 +00:00
Eric Wasylishen
5ece9220eb
* Source/x11/XGServerWindow.m:
...
* Source/x11/XGServer.m:
* Source/x11/XGServerEvent.m:
* Headers/x11/XGGeneric.h:
* Headers/x11/XGServerWindow.h:
* Headers/x11/XGServer.h:
Implement the _NET_WM_SYNC_REQUEST protocol described here:
http://standards.freedesktop.org/wm-spec/1.3/ar01s06.html
This is supposed to make window resizing smoother when dragging
a resize handle provided by the window manager, by waiting to
change the window manager's frame until the GNUstep window is
finished repainting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@33045 72102866-910b-0410-8b05-ffd578937521
2011-05-15 08:37:44 +00:00
Eric Wasylishen
39c9297595
Handle horizontal scrolling in X11
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29532 72102866-910b-0410-8b05-ffd578937521
2010-02-10 07:36:36 +00:00
Wolfgang Lux
4311e19de6
Avoid unnecessary runtime check in the fix for #28590 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29358 72102866-910b-0410-8b05-ffd578937521
2010-01-22 11:47:06 +00:00
Wolfgang Lux
4ea7b58019
Fix bug #28590 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29357 72102866-910b-0410-8b05-ffd578937521
2010-01-22 08:16:50 +00:00
Wolfgang Lux
b4aead1b19
Revise detection of window miniaturization and deminiaturization based
...
on the ICCCM WM_STATE property and use _NET_WM_STATE only to avoid
generating bogus miniaturize events when using an emwh compliant
window manager. This makes the code more portable and allows
generating reliable window deminiaturize events.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29283 72102866-910b-0410-8b05-ffd578937521
2010-01-14 22:27:03 +00:00
Thomas Gamper
c0abc9a675
TG: OpenGL cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28877 72102866-910b-0410-8b05-ffd578937521
2009-10-25 13:49:19 +00:00
Xavier Glattard
7e3dbdf741
OpenGL sub-windows: prevent back-store flush, handle expose events, and small fix/improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28036 72102866-910b-0410-8b05-ffd578937521
2009-03-04 09:58:41 +00:00
Fred Kiefer
1802f35b22
In XwindowBuffer get the default visual and depth from the XGServer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26961 72102866-910b-0410-8b05-ffd578937521
2008-10-24 16:42:38 +00:00
Fred Kiefer
d6fc8b8e74
Try to keep the visual of art consistent with the one used by X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26849 72102866-910b-0410-8b05-ffd578937521
2008-09-14 21:22:54 +00:00
Fred Kiefer
ff0796c5d4
Patch by Hubert Chathi <hubert@uhoreg.ca> to handle window minimization
...
on EWMH systems better.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26795 72102866-910b-0410-8b05-ffd578937521
2008-07-19 21:17:42 +00:00
Adam Fedor
250ebdfad0
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26620 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:12:46 +00:00
Gregory John Casamento
8026904d7f
* Headers/x11/XGGeneric.h:
...
* Source/x11/XGServerWindow.m: Added code to automatically make
any window which uses the NSDesktopWindowLevel also be omnipresent.
This capability will be added as a style later.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26588 72102866-910b-0410-8b05-ffd578937521
2008-06-01 22:01:08 +00:00
Fred Kiefer
e2c622bad5
Get to work with newer versions of GLX.
...
Patch by Thomas Gamper <icicle@cg.tuwien.ac.at>,
slightly reworked.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25990 72102866-910b-0410-8b05-ffd578937521
2008-01-21 21:27:58 +00:00
Fred Kiefer
b5fc3678f3
Remove non-normal windows from task list.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25626 72102866-910b-0410-8b05-ffd578937521
2007-11-29 00:56:11 +00:00
Fred Kiefer
0f8c5487c7
Change files to use GPL 3 and LGPL 3.
...
Prepare for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25538 72102866-910b-0410-8b05-ffd578937521
2007-10-29 23:25:10 +00:00
Fred Kiefer
355aa2db1e
New methods to store and get last event time.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25457 72102866-910b-0410-8b05-ffd578937521
2007-09-05 14:35:06 +00:00
Fred Kiefer
142f3510a3
Prevent some window types from showing up in the taskbar for old window
...
managers that cannot handle window types. Patch by Yen-Ju Chen
<yjchenx@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24246 72102866-910b-0410-8b05-ffd578937521
2006-12-26 14:55:18 +00:00
Matt Rice
782d9d7d3f
* Source/win32/WIN32Server.m: Update -windowlist implementation.
...
* Source/x11/XGServerWindow.m (-orderwin:::): Replace
desiredOrderedWindow with ignore_take_focus.
(windowlist): Implement.
(setinputfocus:): Replace desiredOrderedWindow with
ignore_take_focus.
* Headers/x11/XGGeneric.h (XGGeneric): Remove
desiredOrderedWindow.
* Headers/x11/XGServerWindow.h (gswindow_device_t):
Add ignore_take_focus.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23937 72102866-910b-0410-8b05-ffd578937521
2006-10-21 19:16:47 +00:00
Richard Frith-MacDonald
e0024db991
Some more style/offset checking.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23613 72102866-910b-0410-8b05-ffd578937521
2006-09-25 13:49:32 +00:00
Richard Frith-MacDonald
1548f0617f
Window frame handling fixups (bug #17377 )
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23400 72102866-910b-0410-8b05-ffd578937521
2006-09-06 11:29:32 +00:00
Fred Kiefer
0cbcc4f296
Added handlign of _NET_WM_PING.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23148 72102866-910b-0410-8b05-ffd578937521
2006-07-08 23:33:50 +00:00
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
d9a4b4da8d
Removed some compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22444 72102866-910b-0410-8b05-ffd578937521
2006-02-06 19:33:56 +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
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
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
Alexander Malmberg
3a1bd8c7f0
2005-02-12 13:58 Alexander Malmberg <alexander@malmberg.org>
...
* Headers/x11/XGServerWindow.h: Make the border and depth ivars
unsigned.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20694 72102866-910b-0410-8b05-ffd578937521
2005-02-12 12:51:28 +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
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
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
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
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
David Ayers
98036d3302
* Source/art/GNUmakefile: Do not make headers publilc.
...
* Source/gsc/GNUmakefile: Ditto.
* Source/x11/GNUmakefile: Ditto.
* Source/xdps/GNUmakefile: Ditto.
* Source/xlib/GNUmakefile: Ditto.
* Headers/win32/*.h: Update includes for new header structure.
* Headers/winlib/*.h: Ditto.
* Headers/x11/XGServer.h: Ditto.
* Headers/xlib/*.h: Ditto.
* Source/art/ftfont.m: Ditto.
* Source/gsc/*.m: Ditto.
* Source/x11/*.m: Ditto.
* Source/xdps/*.m: Ditto.
* Source/xlib/*.m: Ditto.
* Tools/gpbs.m: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17409 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:57:11 +00:00
Adam Fedor
23a64a292a
GLX 1.2 support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17306 72102866-910b-0410-8b05-ffd578937521
2003-07-23 03:40:47 +00:00
Adam Fedor
57f11eaa12
Add XIM Input Method, UPdate to wraster 0.80.2
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17286 72102866-910b-0410-8b05-ffd578937521
2003-07-22 04:28:43 +00:00
Fred Kiefer
cd323a0e5b
Added some new Atoms to structure XGWMWinTypes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@17149 72102866-910b-0410-8b05-ffd578937521
2003-07-05 23:49:59 +00:00
Fred Kiefer
d6df4c5870
Made ivar focusRequestNumber unsigned.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16937 72102866-910b-0410-8b05-ffd578937521
2003-06-17 13:30:25 +00:00
Adam Fedor
b502b5346e
Merge from 0.8.5 branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16250 72102866-910b-0410-8b05-ffd578937521
2003-03-24 18:15:56 +00:00
Fred Kiefer
718b9aef29
Moved over from X11 backend.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15945 72102866-910b-0410-8b05-ffd578937521
2003-02-12 00:09:49 +00:00
Adam Fedor
dc3b209d1b
Redefine BOOL to avoid name collision
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15433 72102866-910b-0410-8b05-ffd578937521
2002-12-31 16:49:48 +00:00