Commit graph

226 commits

Author SHA1 Message Date
Fred Kiefer
85052ab206 Set black background pixel for OpenGL subwindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27945 72102866-910b-0410-8b05-ffd578937521
2009-02-21 22:32:33 +00:00
Fred Kiefer
19b62c7318 Remove special code in GLContext subwindow for different border handling
cases.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27944 72102866-910b-0410-8b05-ffd578937521
2009-02-21 22:23:38 +00:00
Richard Frith-MacDonald
8bb746dd57 minor fixes to compile with GC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27843 72102866-910b-0410-8b05-ffd578937521
2009-02-11 08:45:56 +00:00
Wolfgang Lux
1101ab7f8f Add an asterisk before the window's title if its document is edited
and the window manager is not capable of displaying the document's
status (i.e., any window manager other than Window Maker for now).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27821 72102866-910b-0410-8b05-ffd578937521
2009-02-08 23:04:34 +00:00
Fred Kiefer
db2999ee4d Patch by Matt Rice to get OpenGL working again on X11.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27816 72102866-910b-0410-8b05-ffd578937521
2009-02-08 18:36:25 +00:00
Richard Frith-MacDonald
e71618164d Fix typo in method to set parent window of a child, optimise color handling in themes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27742 72102866-910b-0410-8b05-ffd578937521
2009-01-31 09:59:32 +00:00
Fred Kiefer
f99e97c43e Implement new method -setPartentWindow:forChildWindow: for X and
Windows.

Adjust y coordinate of point in compositeGState:... for cairo. This
solves bug #24709. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27718 72102866-910b-0410-8b05-ffd578937521
2009-01-29 09:32:32 +00:00
Wolfgang Lux
993a5d976b Set the WM protocols supported by a window according to its style
mask. This fixes an issue where an application could be deactivated
under Window Maker when a submenu is closed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27623 72102866-910b-0410-8b05-ffd578937521
2009-01-17 17:48:19 +00:00
Wolfgang Lux
f45b5b41a2 Fix an issue where the X11 backend could use incorrect modifier key
settings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27358 72102866-910b-0410-8b05-ffd578937521
2008-12-19 23:01:04 +00:00
Nicola Pero
39076b64a9 Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-back
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27349 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:05:05 +00:00
Nicola Pero
417a0e2cbf Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-back is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27335 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:51:49 +00:00
Wolfgang Lux
0981aebea3 Fix two issues with Window Maker.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27296 72102866-910b-0410-8b05-ffd578937521
2008-12-15 20:47:06 +00:00
Wolfgang Lux
418cae5d53 Add method to XGServer to avoid blocking the run loop when the X event
queue is not empty.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27275 72102866-910b-0410-8b05-ffd578937521
2008-12-10 20:30:09 +00:00
Richard Frith-MacDonald
aeddc7b908 Fix #24671
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27192 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:51:34 +00:00
Wolfgang Lux
8dddc6afcb Fix for bug #24707.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27101 72102866-910b-0410-8b05-ffd578937521
2008-11-20 16:51:33 +00:00
Fred Kiefer
ad0a88c152 Check whether the X server supports shm pixmaps.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26970 72102866-910b-0410-8b05-ffd578937521
2008-10-26 20:12:43 +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
c6c8160a30 Correct code for double parent handling.
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26950 72102866-910b-0410-8b05-ffd578937521
2008-10-22 07:36:10 +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
fc441f9bc5 Add missing window caching for minimized check.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26809 72102866-910b-0410-8b05-ffd578937521
2008-08-14 06:33:04 +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
Fred Kiefer
865a89a647 Disable new active window handling again, as it leads to flickering
windows on KDE 4.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26752 72102866-910b-0410-8b05-ffd578937521
2008-07-11 07:03:22 +00:00
Fred Kiefer
97d1847e6a Better focus setting for EWMH window managers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26749 72102866-910b-0410-8b05-ffd578937521
2008-07-07 23:02:46 +00:00
Fred Kiefer
4e04ca9ea8 Convert X event millisecond timestamp to NSEvent second timestamp.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26634 72102866-910b-0410-8b05-ffd578937521
2008-06-12 19:55:09 +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
b45697c04e Faster check for modifier keys.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26578 72102866-910b-0410-8b05-ffd578937521
2008-05-27 20:22:17 +00:00
Fred Kiefer
bec7259309 Try to avoid value flip in window border computation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26136 72102866-910b-0410-8b05-ffd578937521
2008-02-26 00:32:33 +00:00
Fred Kiefer
47ca0b471e Correct creation of screen object and treat primary screen the same as
others.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26132 72102866-910b-0410-8b05-ffd578937521
2008-02-25 19:13:53 +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
0f0191c547 Rework of context window device setting. Requires corresponding change
in gui.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25981 72102866-910b-0410-8b05-ffd578937521
2008-01-19 13:12:03 +00:00
Richard Frith-MacDonald
0f9d79fc58 Find offsets using off-screen windows unless GSBackChecksOffsetsOnScreen = YES
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25932 72102866-910b-0410-8b05-ffd578937521
2008-01-11 20:09:38 +00:00
Richard Frith-MacDonald
ff99e19fe9 Fixup coordinated of cursor hotpoint for MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25631 72102866-910b-0410-8b05-ffd578937521
2007-11-29 11:34:41 +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
a9e8d647b2 Use objectForKey: instead of stringForKey:.
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25548 72102866-910b-0410-8b05-ffd578937521
2007-10-31 16:50:32 +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
18f790a690 Allow non-resizable windows to be resized programmatically.
Clean up compiler warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25527 72102866-910b-0410-8b05-ffd578937521
2007-10-12 09:32:27 +00:00
Fred Kiefer
7edb569d70 Add missing include.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25508 72102866-910b-0410-8b05-ffd578937521
2007-10-01 16:37:33 +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
1100345667 Use defScreen istead of 0.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25452 72102866-910b-0410-8b05-ffd578937521
2007-09-04 23:59:54 +00:00
Nicolas Roard
09ce663feb AlpenStep stuff with Fred Kiefer's help:
- Added support for 32 bit surfaces when it's possible (use of Xrender extension..).
- Modified the Cairo backend to take advantage of that: we can now draw windows with partial transparency.
- Fixed a bug in the Cairo backend (copy of a surface to itself) using the cairo "groups". Scrolling is still wrong, but we're closer to something good ;-)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25441 72102866-910b-0410-8b05-ffd578937521
2007-09-02 14:23:03 +00:00
Fred Kiefer
4bd371d64a Use CurrentTime instead of generic.lastTime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25405 72102866-910b-0410-8b05-ffd578937521
2007-08-21 13:37:20 +00:00
Fred Kiefer
d164d499c2 Made handling of focus in and out more explicit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25403 72102866-910b-0410-8b05-ffd578937521
2007-08-20 22:31:09 +00:00
Fred Kiefer
79b9caf27f Set lastTime to CurrentTime not 1 to get setinputfocus working for the
first activation of the application.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25395 72102866-910b-0410-8b05-ffd578937521
2007-08-16 14:14:33 +00:00
Fred Kiefer
b7b431cd43 Removed left over NSLog statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25394 72102866-910b-0410-8b05-ffd578937521
2007-08-15 14:26:55 +00:00
Fred Kiefer
05a23a6aae Correct minor bugs in last changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25393 72102866-910b-0410-8b05-ffd578937521
2007-08-15 13:42:36 +00:00
Fred Kiefer
32d116c7b2 Add more EWMH methods and helper methods.
Simplify dragging support code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25389 72102866-910b-0410-8b05-ffd578937521
2007-08-14 22:44:40 +00:00
Fred Kiefer
efb48fbccb Handle SIGINT by calling ([NSApp terminate: NSApp]) to shut down
cleanly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25368 72102866-910b-0410-8b05-ffd578937521
2007-08-02 07:31:37 +00:00
Fred Kiefer
8b9b2102f3 XDnD improvements by Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25071 72102866-910b-0410-8b05-ffd578937521
2007-04-25 00:12:46 +00:00
Fred Kiefer
452d7fb89f Completed and corrected drag type mapping.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24847 72102866-910b-0410-8b05-ffd578937521
2007-03-11 17:42:46 +00:00