summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-01-07Link with required xcb librariesHEADXtoW-20170106masterJon Turney1-1/+1
Link with required xcb libraries, rather than relying on overlinkage caused by libxcwm.la
2017-01-06Include <sys/select.h> for fd_set and related macros to fix compilationJon Turney1-0/+1
2016-03-23Invert to make blur the default, since that works in more placesXtoW-20160323Jon Turney3-7/+8
2016-03-15Use SetWindowCompositionAttribute for alpha-awareness on W10Jon Turney3-10/+86
Using DwmEnableBlurBehindWindow() as we do works fine on Vista and Windows 7 but doesn't render properly on Windows 8.1, 10 Use the (undocumented) SetWindowCompositionAttribute function to get the same appearance on Windows 10. For Windows 8.1, we seem to be out of luck.
2016-03-14Fix sometimes missing sysmenu icon on Vista and laterJon Turney1-8/+6
It seems we must always send WM_SETICON to update the icon *after* we have updated the style to include WM_SYSMENU for the icon to be actually used. Always do that, using the default icons if none specified for the window.
2016-03-13Remove ValidateRect on the rect we have just BitBltJon Turney1-8/+0
This doesn't seem to be useful.
2013-08-02Fixes to types for 64 bit portabilityXtoW-20130802Jon TURNEY1-5/+5
2013-07-26Use AC_CONFIG_HEADERS instead of deprecated AM_CONFIG_HEADER, removed in ↵Jon TURNEY1-1/+1
automake-1.13 In Automake 1.13, the long-deprecated macro AM_CONFIG_HEADER (deprecated since 2002) has been removed in favour of AC_CONFIG_HEADERS. autoreconf-2.69: configure.ac: not using Gettext autoreconf-2.69: running: aclocal configure.ac:5: error: 'AM_CONFIG_HEADER': this macro is obsolete. You should use the 'AC_CONFIG_HEADERS' macro instead. /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from... configure.ac:5: the top level
2013-07-26Debug tweaksJon TURNEY2-15/+15
2013-07-26Update TODO and COMPLIANCEJon TURNEY2-22/+25
2013-07-06man page updatesJon TURNEY1-4/+11
Document -help, -version options Alphabetize options Add mention of transset
2013-07-06Add -verbose optionJon TURNEY4-8/+44
Add -verbose option to increase debug verbosity Document -verbose option in man page Turn on more libxcwm logging when verbosity is requested Put XWinWMUtil debug output at verbosity level 2
2013-07-06Revise wndproc debug output, always report XID and make consistentJon TURNEY1-14/+13
2013-07-06Update for removed XCWM_EVENT_WINDOW_EXPOSEJon TURNEY1-3/+0
2013-07-06Remove bogus leading space from icon atom namesJon TURNEY1-2/+2
2013-07-06Implement XCWM_EVENT_WINDOW_STATEJon TURNEY3-11/+50
Apply state when window is created Show, iconify or hide it on XCWM_EVENT_WINDOW_STATE changes Set state to iconified or deiconified when changed in Windows
2013-07-06Add -noshm command line option to turn off SHMJon TURNEY2-2/+17
Add -noshm command line option to turn off SHM for testing and performance evaluation.
2013-07-03Another attempt at avoiding creating windows which are not at the topJon TURNEY1-2/+3
2013-07-03Don't try to fetch image of damage if damage area is zeroJon TURNEY1-30/+34
2013-07-03Move Windows activated window to top of X window stackJon TURNEY1-0/+8
In WM_ACTIVATE, move the activated window to the top of the X window stack, so it is above all others in the X window stack and thus can properly receive mouse events over it. Really should synchronize changes in stacking order both ways.
2013-07-03Use xcwm_image_copy_partial() in WM_PAINTJon TURNEY1-3/+9
Perhaps a bit more efficent that using xcwm_image_copy_full()
2013-07-03Handle XCWM_EVENT_WINDOW_CONFIGUREJon TURNEY3-1/+80
2013-07-02Report defaulting to $DISPLAY even more clearlyJon TURNEY1-1/+1
2013-07-01Use select() on /dev/windows rather than GetMessage()Jon TURNEY1-16/+43
Use select() on /dev/windows rather than GetMessage(), so we can be interrupted by cygwin signals
2013-07-01Handle WM_XCWM_EXITJon TURNEY1-1/+8
2013-06-30Handle NULL return from xcwm_context_open() as an errorJon TURNEY1-0/+5
2013-06-29Mouse wheel support update to align with XWinJon TURNEY2-5/+16
Update for winMouseWheel() interface change in libwmutil Add handling for WM_MOUSEHWHEEL messages Change mouse buttons 4 and 5 from X buttons 6 and 7 to X buttons 8 and 9, which, with mouse tilt wheel as X buttons 6 and 7, matches the default configuration on Linux.
2012-12-19Report defaulting to $DISPLAY more clearlyXtoW-20121220Jon TURNEY1-1/+1
2012-12-19Add a check that X screen size isn't smaller than Windows virtual desktop sizeJon TURNEY1-1/+38
2012-12-19Use libXWinWMUtil for keyboard event translationJon TURNEY6-815/+24
2012-12-19Add notes on ICCCM & EWMH complianceJon TURNEY1-0/+161
2012-12-19Set the root window cursor to left pointing arrowJon TURNEY1-0/+27
2012-12-17Add mousewheel support using libXWinWMUtilJon TURNEY1-0/+15
2012-12-17g_fButton is not sized correctlyJon TURNEY1-1/+1
2012-12-17Update for xcwm_input_mouse_event() not taking a window parameterJon TURNEY1-10/+10
2012-12-17Update TODOJon TURNEY1-8/+9
2012-12-17Add --version optionJon TURNEY2-2/+14
2012-12-17Add cursor conversion using libXWinWMUtilJon TURNEY6-7/+123
2012-12-17Add icon conversion using libXWinWMUtilJon TURNEY8-16/+89
2012-11-30Try to avoid windows appearing not at top of Z-orderJon TURNEY1-0/+4
Doesn't help
2012-11-30Add shaped window supportJon TURNEY3-0/+123
2012-11-30Update for less dynamic allocation and opaque datatypes in API changesJon TURNEY2-26/+26
2012-11-30Debug tweakJon TURNEY2-6/+10
2012-11-30Workaround WS_EX_LAYERED drawing bugs on XPJon TURNEY1-4/+26
It seems that XP starts drawing window contents in the wrong place and other wise makes a mess of things if the border style of a WS_EX_LAYERED window changes. Work around this: i/ Defer turning on WS_EX_LAYERED until we've done the initial style twiddling for override-redirect windows ii/ hide and show the window when it's style changes (which causes it to be redrawn and thus the entire image re-fetched from the X server...)
2012-11-30Use xcwm_atom_register() to register interest appearance atomsJon TURNEY3-11/+11
2012-11-30Set default arrow cursor when over one of our windowsJon TURNEY1-1/+9
2012-11-30Improve window placement codeJon TURNEY1-56/+24
- Adjust position to avoid decoration disappearing off to top-left before we create the window, rather than after - use CW_USEDEFAULT correctly - Only use default position if window doesn't already have one, to avoid windows being re-positioned on XtoW restarting
2012-11-30Make window creation and destruction be synchronousJon TURNEY2-4/+18
At the moment, because Windows windows must be created and destroyed by the thread that we want to process events with, XCWM_EVENT_WINDOW_CREATE just posts a message to another thread to create the window, we can then receive and try to process additional events (usually damage) on that window before the window creation has completed. Likewise XCWM_EVENT_WINDOW_DELETE just posts a message to another thread to delete the window, then releases the xcwm_window_t. If a different WM_* message is recieved for that window before the WM_DELETE is processed, the xcw_window_t pointer stored in the WIN_XCWM_PROP property will be invalid. Block the processing of additional X events until window creation or destruction completes.
2012-11-30Fixes for override-redirect windowsJon TURNEY1-19/+27
2012-11-30Write our own atom_get() helperJon TURNEY1-9/+30