Commit graph

52 commits

Author SHA1 Message Date
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
Gregory John Casamento
3ca3aceb03 Minor fix to avoid name collision with "id" type in Objective-C.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15000 72102866-910b-0410-8b05-ffd578937521
2002-11-16 19:41:16 +00:00
Adam Fedor
6bec019bff OpenGL implmentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14998 72102866-910b-0410-8b05-ffd578937521
2002-11-16 05:00:14 +00:00
Alexander Malmberg
605ce8e712 If possible, create a shared pixmap from the image data and use it as the window's background pixmap.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14501 72102866-910b-0410-8b05-ffd578937521
2002-09-21 10:16:47 +00:00
Alexander Malmberg
fb35644e9c Track all XIC:s and destroy them explicitly to work around xfree86 bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14485 72102866-910b-0410-8b05-ffd578937521
2002-09-18 22:34:44 +00:00
Alexander Malmberg
d460fca45d Add more documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14427 72102866-910b-0410-8b05-ffd578937521
2002-09-10 20:11:58 +00:00
Alexander Malmberg
496e7e4a6e Rename ARTWindowBuffer to XWindowBuffer and move it to x11/.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14426 72102866-910b-0410-8b05-ffd578937521
2002-09-10 19:37:47 +00:00
Adam Fedor
2f3bc2ccb0 Simplify backend selection. libart patches
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13595 72102866-910b-0410-8b05-ffd578937521
2002-05-06 02:03:29 +00:00
Adam Fedor
6233fb4e20 Fix #if defs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13593 72102866-910b-0410-8b05-ffd578937521
2002-05-04 19:39:47 +00:00
Adam Fedor
9c50aaf19a Handle multiple screens.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13531 72102866-910b-0410-8b05-ffd578937521
2002-04-23 21:05:50 +00:00
Adam Fedor
eda5a7a078 Update window update interface
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13470 72102866-910b-0410-8b05-ffd578937521
2002-04-15 02:59:15 +00:00